ASoC: fix checking for external widgets bug
authorRongrong Cao <rrcao@ambarella.com>
Fri, 10 Jul 2009 19:13:30 +0000 (20:13 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 13 Jul 2009 22:01:29 +0000 (23:01 +0100)
commit087d53ab11d538ce57b8a8e0ef899d7ee6a38548
tree8eb8123505bfa43dd58902c86e321f8d05c0e791
parent33e319fba727708ee45fec70091c498da4e8f606
ASoC: fix checking for external widgets bug

In SOC DAPM layer of SOUND subsystem, when add signal route (in the
function snd_soc_dapm_add_route() ), the original code has wrong logic
when dapm layer check each widget whether an external one.

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