diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-02-06 09:19:45 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-02-06 09:19:45 -0500 |
commit | e255265b475824fd5291df706093705ab677c29f (patch) | |
tree | 47388bb39a164a79096e0e5f371a350cbc2dc602 /sound/soc/codecs/wm8990.c | |
parent | 85ef2375ef2ebbb2bf660ad3a27c644d0ebf1b1a (diff) | |
parent | 397d5aeeb5a2c9ca6108899a04b35a51cd904503 (diff) |
Merge branch 'for-2.6.29' into for-2.6.30
Diffstat (limited to 'sound/soc/codecs/wm8990.c')
-rw-r--r-- | sound/soc/codecs/wm8990.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8990.c b/sound/soc/codecs/wm8990.c index a2e9cc952491..1a38421f7594 100644 --- a/sound/soc/codecs/wm8990.c +++ b/sound/soc/codecs/wm8990.c | |||
@@ -176,7 +176,9 @@ static int wm899x_outpga_put_volsw_vu(struct snd_kcontrol *kcontrol, | |||
176 | struct snd_ctl_elem_value *ucontrol) | 176 | struct snd_ctl_elem_value *ucontrol) |
177 | { | 177 | { |
178 | struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); | 178 | struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); |
179 | int reg = kcontrol->private_value & 0xff; | 179 | struct soc_mixer_control *mc = |
180 | (struct soc_mixer_control *)kcontrol->private_value; | ||
181 | int reg = mc->reg; | ||
180 | int ret; | 182 | int ret; |
181 | u16 val; | 183 | u16 val; |
182 | 184 | ||