diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-02-15 09:00:18 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-15 09:00:18 +0100 |
commit | b69bc3967445169ea4dc11171118b414eafab271 (patch) | |
tree | 52bff205f1fc1dbcae5aba7531c5b53f52b4823e /sound/soc/codecs/wm8990.c | |
parent | c466ed2e4337c5eb03b283da507eb5328ab06c73 (diff) | |
parent | d2f8d7ee1a9b4650b4e43325b321801264f7c37a (diff) |
Merge commit 'v2.6.29-rc5' into x86/apic
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 1cbb7b9b51c..a5731faa150 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, struct snd_ctl_elem_value *ucontrol) { struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); - int reg = kcontrol->private_value & 0xff; + struct soc_mixer_control *mc = + (struct soc_mixer_control *)kcontrol->private_value; + int reg = mc->reg; int ret; u16 val; |