ASoC: pcm: perform power-down delay checks a bit faster
authorDragan Simic <dsimic@manjaro.org>
Tue, 9 Apr 2024 17:56:36 +0000 (19:56 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 9 Apr 2024 19:08:07 +0000 (20:08 +0100)
commitf78bf2c933c9cb3b61215378664f83c5abd25374
treede2945aacaa4dd9559c1ce51d81cc4f13880be22
parent56437a561fefab2be708dfebf80e31c4715eb52e
ASoC: pcm: perform power-down delay checks a bit faster

When checking whether the power-down delay should be ignored for a specific
PCM runtime, there's no need to keep going through all DAI link components
after any of them is found to be configured to use the power-down delay.

While there, fix a small typo in one of the comment blocks.

Signed-off-by: Dragan Simic <dsimic@manjaro.org>
Link: https://msgid.link/r/90ae761a5b99640ece48363a7099ac2cf402bd37.1712684592.git.dsimic@manjaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-pcm.c