diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-03-29 04:38:01 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-03-31 10:59:00 -0500 |
commit | e860f00047108ec97ac58c0d1bf59ae23e35f81c (patch) | |
tree | 58a32017a7aec5f51e39b2b6d63d93efb7f7e7ef /sound | |
parent | 14790f1c73cfa4d4a22ac10b4501b4831380683c (diff) |
[ALSA] cs4281 - Fix the check of right channel
Fix the check of right channel in mixer volume put callback.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/cs4281.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/cs4281.c b/sound/pci/cs4281.c index 4f65ec56bf35..4221dfe8bd7e 100644 --- a/sound/pci/cs4281.c +++ b/sound/pci/cs4281.c | |||
@@ -1046,7 +1046,7 @@ static int snd_cs4281_put_volume(struct snd_kcontrol *kcontrol, | |||
1046 | snd_cs4281_pokeBA0(chip, regL, volL); | 1046 | snd_cs4281_pokeBA0(chip, regL, volL); |
1047 | change = 1; | 1047 | change = 1; |
1048 | } | 1048 | } |
1049 | if (ucontrol->value.integer.value[0] != volL) { | 1049 | if (ucontrol->value.integer.value[1] != volR) { |
1050 | volR = CS_VOL_MASK - (ucontrol->value.integer.value[1] & CS_VOL_MASK); | 1050 | volR = CS_VOL_MASK - (ucontrol->value.integer.value[1] & CS_VOL_MASK); |
1051 | snd_cs4281_pokeBA0(chip, regR, volR); | 1051 | snd_cs4281_pokeBA0(chip, regR, volR); |
1052 | change = 1; | 1052 | change = 1; |