|
@@ -793,7 +793,7 @@ static int snd_nativeinstruments_control_put(struct snd_kcontrol *kcontrol,
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
kcontrol->private_value &= ~(0xff << 24);
|
|
kcontrol->private_value &= ~(0xff << 24);
|
|
- kcontrol->private_value |= newval;
|
|
|
|
|
|
+ kcontrol->private_value |= (unsigned int)newval << 24;
|
|
err = snd_ni_update_cur_val(list);
|
|
err = snd_ni_update_cur_val(list);
|
|
return err < 0 ? err : 1;
|
|
return err < 0 ? err : 1;
|
|
}
|
|
}
|