25 Feb
2015
25 Feb
'15
2:33 p.m.
Signed-off-by: Dan Carpenter dan.carpenter@oracle.com
diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c index 1d0f2ca..6cf464d 100644 --- a/sound/pci/cmipci.c +++ b/sound/pci/cmipci.c @@ -2062,7 +2062,7 @@ static int snd_cmipci_get_volume(struct snd_kcontrol *kcontrol, val = (snd_cmipci_mixer_read(cm, reg.right_reg) >> reg.right_shift) & reg.mask; if (reg.invert) val = reg.mask - val; - ucontrol->value.integer.value[1] = val; + ucontrol->value.integer.value[1] = val; } spin_unlock_irq(&cm->reg_lock); return 0;