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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/sparc/amd7930.c b/sound/sparc/amd7930.c
index 07962a35f241..0c63e0585b15 100644
--- a/sound/sparc/amd7930.c
+++ b/sound/sparc/amd7930.c
@@ -36,7 +36,6 @@
36#include <linux/interrupt.h> 36#include <linux/interrupt.h>
37#include <linux/moduleparam.h> 37#include <linux/moduleparam.h>
38 38
39#include <sound/driver.h>
40#include <sound/core.h> 39#include <sound/core.h>
41#include <sound/pcm.h> 40#include <sound/pcm.h>
42#include <sound/info.h> 41#include <sound/info.h>
@@ -859,7 +858,7 @@ static int snd_amd7930_put_volume(struct snd_kcontrol *kctl, struct snd_ctl_elem
859 spin_lock_irqsave(&amd->lock, flags); 858 spin_lock_irqsave(&amd->lock, flags);
860 859
861 if (*swval != ucontrol->value.integer.value[0]) { 860 if (*swval != ucontrol->value.integer.value[0]) {
862 *swval = ucontrol->value.integer.value[0]; 861 *swval = ucontrol->value.integer.value[0] & 0xff;
863 __amd7930_update_map(amd); 862 __amd7930_update_map(amd);
864 change = 1; 863 change = 1;
865 } else 864 } else