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)
commit9d03545d886bedd2c81b8f28ae0cc68c356d02f7
treebc1d7c1d2d94c4e4eba1c51bcf77f50e467bb21e
parentfa63e477ddb09075f68cd5fe4db8f8045627a787
ASoC: Fix wrong data type access in a few codec drivers

Commit fafd217 ("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