]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 19:37:43 +0000 (11:37 -0800)
commit647a9dbec6ab9bf9789b2dcfb589cf4dbb13e379
tree8be69669553358b5dcc975ebef767ee8902b42de
parentb6d806539cdf76b1d0ad2411dff4cae227de4942
ASoC: dapm: Use card_list during DAPM shutdown

commit 445632ad6dda42f4d3f9df2569a852ca0d4ea608 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/soc-dapm.c