Message ID | 20150225133357.GS19745@mwanda (mailing list archive) |
---|---|
State | Accepted |
Commit | 9603cded0e2cef003a822985d84b5daff1c7232f |
Headers | show |
At Wed, 25 Feb 2015 16:33:57 +0300, Dan Carpenter wrote: > > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Applied, thanks. Takashi > > 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; >
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;
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>