diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-01-28 07:35:20 (GMT) |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 16:30:17 (GMT) |
commit | a3601560496d7b46d2d1187169824d11570ff63a (patch) | |
tree | abcb52cdea5f118815994895b2375ad000fc4d24 /sound/pci/oxygen/oxygen_lib.c | |
parent | 1e821dd2763c97df1a0a451e553d218cb8886cd7 (diff) | |
download | linux-fsl-qoriq-a3601560496d7b46d2d1187169824d11570ff63a.tar.xz |
[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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/pci/oxygen/oxygen_lib.c b/sound/pci/oxygen/oxygen_lib.c index de6bf41..540e56b 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) oxygen_write_ac97(chip, 1, AC97_AUX, 0x8808); oxygen_write_ac97(chip, 1, AC97_PCM, 0x0808); oxygen_write_ac97(chip, 1, AC97_REC_SEL, 0x0000); - oxygen_write_ac97(chip, 1, AC97_REC_GAIN, 0x8000); - oxygen_ac97_clear_bits(chip, 1, AC97_REC_GAIN, 0x1c00); + oxygen_write_ac97(chip, 1, AC97_REC_GAIN, 0x0000); oxygen_ac97_set_bits(chip, 1, 0x6a, 0x0040); } } |