]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ASoC: WM8990: Fix kcontrol's private value use in put callback
authorJarkko Nikula <jarkko.nikula@nokia.com>
Fri, 6 Feb 2009 10:01:05 +0000 (12:01 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 6 Feb 2009 11:39:28 +0000 (11:39 +0000)
commit397d5aeeb5a2c9ca6108899a04b35a51cd904503
treee2431935f8a839167960db9df89eb3ac8c999ba3
parent4453dba54de7e517b0cd6f5e4a3f4af3b34f9e79
ASoC: WM8990: Fix kcontrol's private value use in put callback

Function wm899x_outpga_put_volsw_vu misuses the kcontrol's private value
by still accessing it as bitfields even SOC_SINGLE_VALUE constructs it
as a pointer into struct soc_mixer_control after the commit
4eaa9819dc08d7bfd1065ce530e31b18a119dcaf.

This is very similar fix than fix to TLV320AIC3X codec made by
Eero Nurkkala <ext-eero.nurkkala@nokia.com>. This fix is compile tested
only.

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Cc: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8990.c