]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Fix wrong data type access in a few codec drivers
authorJarkko Nikula <jhnikula@gmail.com>
Fri, 13 May 2011 16:16:52 +0000 (19:16 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 16 May 2011 16:06:47 +0000 (09:06 -0700)
commit147587aa373d2e26221a7713da5fff3a54dba08f
treebc1d7c1d2d94c4e4eba1c51bcf77f50e467bb21e
parentb6652819714da8884d6564cd66f6e65ff3b6307b
ASoC: Fix wrong data type access in a few codec drivers

Commit fc71afa ("ASoC: Store a list of widgets in a DAPM mux/mixer kcontrol")
changed the control private data type that is passed to snd_soc_cnew when
creating dapm mixer and mux controls. Commit did not update a few codec
drivers that are using their own put callbacks and thus are accessing a
wrong data type.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/tlv320aic3x.c
sound/soc/codecs/wm8903.c
sound/soc/codecs/wm8993.c
sound/soc/codecs/wm8994.c
sound/soc/codecs/wm8995.c