aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorRolf Stefan Wilke <stefan.wilke@uni-ulm.de>2007-02-06 13:18:14 -0500
committerJaroslav Kysela <perex@suse.cz>2007-02-09 03:03:57 -0500
commit2594d960793f13582c0730a99c5396cded7cf9d9 (patch)
tree11a0453d606d4e3769a75646279b1403437556ea /sound
parent88cb42901f1572c95f5933f363cfebd5044c716a (diff)
[ALSA] emu10k1 - Fix STAC9758 front channel
For some time now, some users of STAC9758 (emu10k1) would have no sound on their front channels. This can be fixed (at least for me) by unmuting head phone volume and setting it to 0dB before removing the 'Front Playback' control. For details, cf. https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2308 Find the appropriate patch attached. Credits to: Raymond Signed-off-by: Rolf Stefan Wilke <stefan.wilke@uni-ulm.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/emu10k1/emumixer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/emu10k1/emumixer.c b/sound/pci/emu10k1/emumixer.c
index 0981af842b76..4db6e1ca1665 100644
--- a/sound/pci/emu10k1/emumixer.c
+++ b/sound/pci/emu10k1/emumixer.c
@@ -1582,6 +1582,7 @@ int __devinit snd_emu10k1_mixer(struct snd_emu10k1 *emu,
1582 if (emu->ac97->id == AC97_ID_STAC9758) { 1582 if (emu->ac97->id == AC97_ID_STAC9758) {
1583 emu->rear_ac97 = 1; 1583 emu->rear_ac97 = 1;
1584 snd_emu10k1_ptr_write(emu, AC97SLOT, 0, AC97SLOT_CNTR|AC97SLOT_LFE|AC97SLOT_REAR_LEFT|AC97SLOT_REAR_RIGHT); 1584 snd_emu10k1_ptr_write(emu, AC97SLOT, 0, AC97SLOT_CNTR|AC97SLOT_LFE|AC97SLOT_REAR_LEFT|AC97SLOT_REAR_RIGHT);
1585 snd_ac97_write_cache(emu->ac97, AC97_HEADPHONE, 0x0202);
1585 } 1586 }
1586 /* remove unused AC97 controls */ 1587 /* remove unused AC97 controls */
1587 snd_ac97_write_cache(emu->ac97, AC97_SURROUND_MASTER, 0x0202); 1588 snd_ac97_write_cache(emu->ac97, AC97_SURROUND_MASTER, 0x0202);