]> git.kernelconcepts.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)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 6 Dec 2012 11:20:04 +0000 (11:20 +0000)
commit5f7f7869750172ec1af2b3c489bd943db9086a2a
tree723e41a26217aff29297d806320ed073470b23e8
parentc5ee58688baa98bc3a4f6095a1acf6fd7fd9e967
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: Ben Hutchings <ben@decadent.org.uk>
sound/soc/soc-dapm.c