aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/oxygen_lib.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2008-01-28 02:35:20 -0500
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:30:17 -0500
commita3601560496d7b46d2d1187169824d11570ff63a (patch)
treeabcb52cdea5f118815994895b2375ad000fc4d24 /sound/pci/oxygen/oxygen_lib.c
parent1e821dd2763c97df1a0a451e553d218cb8886cd7 (diff)
[ALSA] oxygen: add front panel controls
Add mixer controls for the front panel AC97 codec. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/oxygen/oxygen_lib.c')
-rw-r--r--sound/pci/oxygen/oxygen_lib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/pci/oxygen/oxygen_lib.c b/sound/pci/oxygen/oxygen_lib.c
index de6bf41c3e96..540e56b75794 100644
--- a/sound/pci/oxygen/oxygen_lib.c
+++ b/sound/pci/oxygen/oxygen_lib.c
@@ -365,8 +365,7 @@ static void __devinit oxygen_init(struct oxygen *chip)
365 oxygen_write_ac97(chip, 1, AC97_AUX, 0x8808); 365 oxygen_write_ac97(chip, 1, AC97_AUX, 0x8808);
366 oxygen_write_ac97(chip, 1, AC97_PCM, 0x0808); 366 oxygen_write_ac97(chip, 1, AC97_PCM, 0x0808);
367 oxygen_write_ac97(chip, 1, AC97_REC_SEL, 0x0000); 367 oxygen_write_ac97(chip, 1, AC97_REC_SEL, 0x0000);
368 oxygen_write_ac97(chip, 1, AC97_REC_GAIN, 0x8000); 368 oxygen_write_ac97(chip, 1, AC97_REC_GAIN, 0x0000);
369 oxygen_ac97_clear_bits(chip, 1, AC97_REC_GAIN, 0x1c00);
370 oxygen_ac97_set_bits(chip, 1, 0x6a, 0x0040); 369 oxygen_ac97_set_bits(chip, 1, 0x6a, 0x0040);
371 } 370 }
372} 371}