aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-02-27 11:20:41 -0500
committerJaroslav Kysela <perex@suse.cz>2006-03-22 04:31:37 -0500
commita5a6bbd9b2481dd556236ea866424590f5f987a4 (patch)
tree1a7952d9654d7f9d26b4681dc295cee10ac71813 /sound
parent62f09c3d321c82981ae3f2dd7e32bc4c73379a7e (diff)
[ALSA] cs4236 - Fix a typo
Modules: CS4236+ driver Fixed a typo in snd_cs4236_put_master_digital(), resulting in silence right channel. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/isa/cs423x/cs4236_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/cs423x/cs4236_lib.c b/sound/isa/cs423x/cs4236_lib.c
index 1125ddb2b1aa..7a5a6c71f5e4 100644
--- a/sound/isa/cs423x/cs4236_lib.c
+++ b/sound/isa/cs423x/cs4236_lib.c
@@ -644,7 +644,7 @@ static int snd_cs4236_put_master_digital(struct snd_kcontrol *kcontrol, struct s
644 val2 = (chip->eimage[CS4236_REG(CS4236_RIGHT_MASTER)] & ~0x7f) | val2; 644 val2 = (chip->eimage[CS4236_REG(CS4236_RIGHT_MASTER)] & ~0x7f) | val2;
645 change = val1 != chip->eimage[CS4236_REG(CS4236_LEFT_MASTER)] || val2 != chip->eimage[CS4236_REG(CS4236_RIGHT_MASTER)]; 645 change = val1 != chip->eimage[CS4236_REG(CS4236_LEFT_MASTER)] || val2 != chip->eimage[CS4236_REG(CS4236_RIGHT_MASTER)];
646 snd_cs4236_ext_out(chip, CS4236_LEFT_MASTER, val1); 646 snd_cs4236_ext_out(chip, CS4236_LEFT_MASTER, val1);
647 snd_cs4236_ext_out(chip, CS4236_RIGHT_MASTER, val1); 647 snd_cs4236_ext_out(chip, CS4236_RIGHT_MASTER, val2);
648 spin_unlock_irqrestore(&chip->reg_lock, flags); 648 spin_unlock_irqrestore(&chip->reg_lock, flags);
649 return change; 649 return change;
650} 650}