|
@@ -824,7 +824,7 @@ static int snd_ac97_put_spsa(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_
|
|
{
|
|
{
|
|
struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol);
|
|
struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol);
|
|
int reg = kcontrol->private_value & 0xff;
|
|
int reg = kcontrol->private_value & 0xff;
|
|
- int shift = (kcontrol->private_value >> 8) & 0xff;
|
|
|
|
|
|
+ int shift = (kcontrol->private_value >> 8) & 0x0f;
|
|
int mask = (kcontrol->private_value >> 16) & 0xff;
|
|
int mask = (kcontrol->private_value >> 16) & 0xff;
|
|
// int invert = (kcontrol->private_value >> 24) & 0xff;
|
|
// int invert = (kcontrol->private_value >> 24) & 0xff;
|
|
unsigned short value, old, new;
|
|
unsigned short value, old, new;
|