ASoC: Stop checking for supplied widgets after we find the first
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 4 Oct 2011 21:57:50 +0000 (22:57 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 5 Oct 2011 10:22:40 +0000 (11:22 +0100)
commitf68d7e168785a2e89f615863fb5fab22518c8eb8
tree6588aebb87e14a82a02d4c274070a6bec52bdf1d
parentf3bf3e456a8be9b359a8f4ff458ae1be4fc4c516
ASoC: Stop checking for supplied widgets after we find the first

We don't really care how many widgets a supply is supplying, we just care
if the number is non-zero. This didn't actually produce any improvement
in the test cases I've been using but seems obviously sensible enough that
I'm pushing it out anyway.

We could do a similar thing for other widgets but this may be unhelpful
for further refactorings Liam was working on aiming to allow us to
identify connected audio paths.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-dapm.c