]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit42703a229a3461ed6406b786a924954c28ed796b
tree6588aebb87e14a82a02d4c274070a6bec52bdf1d
parent5363dcf949585ed674965d58acae7d22c027c68a
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