aboutsummaryrefslogtreecommitdiffstats
path: root/sound/sparc/amd7930.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/sparc/amd7930.c')
-rw-r--r--sound/sparc/amd7930.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/sparc/amd7930.c b/sound/sparc/amd7930.c
index 07962a35f241..b1d431587158 100644
--- a/sound/sparc/amd7930.c
+++ b/sound/sparc/amd7930.c
@@ -859,7 +859,7 @@ static int snd_amd7930_put_volume(struct snd_kcontrol *kctl, struct snd_ctl_elem
859 spin_lock_irqsave(&amd->lock, flags); 859 spin_lock_irqsave(&amd->lock, flags);
860 860
861 if (*swval != ucontrol->value.integer.value[0]) { 861 if (*swval != ucontrol->value.integer.value[0]) {
862 *swval = ucontrol->value.integer.value[0]; 862 *swval = ucontrol->value.integer.value[0] & 0xff;
863 __amd7930_update_map(amd); 863 __amd7930_update_map(amd);
864 change = 1; 864 change = 1;
865 } else 865 } else