aboutsummaryrefslogtreecommitdiffstats
path: root/sound/sparc
diff options
context:
space:
mode:
Diffstat (limited to 'sound/sparc')
-rw-r--r--sound/sparc/dbri.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/sparc/dbri.c b/sound/sparc/dbri.c
index af1bf4bf9459..fc683174f2c7 100644
--- a/sound/sparc/dbri.c
+++ b/sound/sparc/dbri.c
@@ -2292,12 +2292,12 @@ static int snd_cs4215_put_volume(struct snd_kcontrol *kcontrol,
2292 return -EINVAL; 2292 return -EINVAL;
2293 } 2293 }
2294 2294
2295 if (info->left_gain != 2295 if (info->left_gain != vol[0]) {
2296 info->left_gain = ucontrol->value.integer.value[0]; 2296 info->left_gain = vol[0];
2297 changed = 1; 2297 changed = 1;
2298 } 2298 }
2299 if (info->right_gain != ucontrol->value.integer.value[1]) { 2299 if (info->right_gain != vol[1]) {
2300 info->right_gain = ucontrol->value.integer.value[1]; 2300 info->right_gain = vol[1];
2301 changed = 1; 2301 changed = 1;
2302 } 2302 }
2303 if (changed) { 2303 if (changed) {