diff options
author | Eero Nurkkala <ext-eero.nurkkala@nokia.com> | 2009-02-06 12:01:04 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-02-06 11:39:28 +0000 |
commit | 4453dba54de7e517b0cd6f5e4a3f4af3b34f9e79 (patch) | |
tree | b095287959af1a472aee299ae0276633601fb622 /samples | |
parent | 64ca0404eed57f6c92290d55e949a7f46cbe4bf4 (diff) | |
download | kernel_samsung_crespo-4453dba54de7e517b0cd6f5e4a3f4af3b34f9e79.zip kernel_samsung_crespo-4453dba54de7e517b0cd6f5e4a3f4af3b34f9e79.tar.gz kernel_samsung_crespo-4453dba54de7e517b0cd6f5e4a3f4af3b34f9e79.tar.bz2 |
ASoC: TLV320AIC3X: Fix kcontrol's private value use in put callback
Function snd_soc_dapm_put_volsw_aic3x 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 was causing arbitrary register writes when touching the controls
defined with SOC_DAPM_SINGLE_AIC3X.
Signed-off-by: Eero Nurkkala <ext-eero.nurkkala@nokia.com>
Acked-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions