[ALSA] ac97 - add the 'Mic Front Input Switch' control (ALC850)
authorSergey Vlasov <vsu@altlinux.ru>
Mon, 25 Apr 2005 09:34:33 +0000 (11:34 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sun, 29 May 2005 08:05:20 +0000 (10:05 +0200)
AC97 Codec
Add the 'Mic Front Input Switch' control to the mixer for ALC850.
Enabling this input is required for using the front panel microphone
connector with ASUS A8V motherboard.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/ac97/ac97_patch.c

index 7f16c306165bc4645ce27f5ee2cdc0be3602fb98..737c4bb94d2a12aa04d6c047bfb8101253047fdc 100644 (file)
@@ -1928,6 +1928,7 @@ static void alc850_update_jacks(ac97_t *ac97)
 
 static const snd_kcontrol_new_t snd_ac97_controls_alc850[] = {
        AC97_PAGE_SINGLE("Duplicate Front", AC97_ALC650_MULTICH, 0, 1, 0, 0),
+       AC97_SINGLE("Mic Front Input Switch", AC97_ALC850_JACK_SELECT, 15, 1, 1),
        AC97_SURROUND_JACK_MODE_CTL,
        AC97_CHANNEL_MODE_CTL,
 };