]> err.no Git - linux-2.6/blobdiff - sound/sparc/dbri.c
[IA64] use CORE_DUMP_USE_REGSET
[linux-2.6] / sound / sparc / dbri.c
index af1bf4bf9459203bec0a0a4c30025a99c09159ae..3d00e0797b11899042e5af98fa64a224ebc13597 100644 (file)
@@ -53,7 +53,6 @@
  * other       DBRI low-level stuff
  */
 
-#include <sound/driver.h>
 #include <linux/interrupt.h>
 #include <linux/delay.h>
 #include <linux/irq.h>
@@ -2292,12 +2291,12 @@ static int snd_cs4215_put_volume(struct snd_kcontrol *kcontrol,
                        return -EINVAL;
        }
 
-       if (info->left_gain != 
-               info->left_gain = ucontrol->value.integer.value[0];
+       if (info->left_gain != vol[0]) {
+               info->left_gain = vol[0];
                changed = 1;
        }
-       if (info->right_gain != ucontrol->value.integer.value[1]) {
-               info->right_gain = ucontrol->value.integer.value[1];
+       if (info->right_gain != vol[1]) {
+               info->right_gain = vol[1];
                changed = 1;
        }
        if (changed) {