From d85b4614e6caaf28bd31384f0825a691e80e35a3 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 20 Nov 2007 18:31:22 +0100 Subject: [PATCH] --- yaml --- r: 81512 b: refs/heads/master c: 4581aa36fc8273579f6b7979adc4f4e666460a8d h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/sparc/dbri.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index a93ee4406ae7..6fd20e44774f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: dec44dbe017f824ce46cdd66b39fa9b98a076ce1 +refs/heads/master: 4581aa36fc8273579f6b7979adc4f4e666460a8d diff --git a/trunk/sound/sparc/dbri.c b/trunk/sound/sparc/dbri.c index af1bf4bf9459..fc683174f2c7 100644 --- a/trunk/sound/sparc/dbri.c +++ b/trunk/sound/sparc/dbri.c @@ -2292,12 +2292,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) {