projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14790f1
)
[ALSA] cs4281 - Fix the check of right channel
author
Takashi Iwai
<tiwai@suse.de>
Wed, 29 Mar 2006 09:38:01 +0000
(11:38 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Fri, 31 Mar 2006 15:59:00 +0000
(17:59 +0200)
Fix the check of right channel in mixer volume put callback.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/cs4281.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/cs4281.c
b/sound/pci/cs4281.c
index 4f65ec56bf3525125700988e0da03f2e94b00546..4221dfe8bd7ef1bf1eae067e0eff2a371c57e9ae 100644
(file)
--- a/
sound/pci/cs4281.c
+++ b/
sound/pci/cs4281.c
@@
-1046,7
+1046,7
@@
static int snd_cs4281_put_volume(struct snd_kcontrol *kcontrol,
snd_cs4281_pokeBA0(chip, regL, volL);
change = 1;
}
- if (ucontrol->value.integer.value[
0] != volL
) {
+ if (ucontrol->value.integer.value[
1] != volR
) {
volR = CS_VOL_MASK - (ucontrol->value.integer.value[1] & CS_VOL_MASK);
snd_cs4281_pokeBA0(chip, regR, volR);
change = 1;