ASoC: dapm: Use card_list during DAPM shutdown
authorMisael Lopez Cruz <misael.lopez@ti.com>
Thu, 8 Nov 2012 18:03:12 +0000 (12:03 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 9 Nov 2012 16:31:59 +0000 (16:31 +0000)
commit445632ad6dda42f4d3f9df2569a852ca0d4ea608
tree710e193d3094a90754f67b5fc9b4aed4282b75b3
parent3d70f8c617a436c7146ecb81df2265b4626dfe89
ASoC: dapm: Use card_list during DAPM shutdown

DAPM shutdown incorrectly uses "list" field of codec struct while
iterating over probed components (codec_dev_list). "list" field
refers to codecs registered in the system, "card_list" field is
used for probed components.

Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
sound/soc/soc-dapm.c