Browse Source

[ALSA] ac97 - add the 'Mic Front Input Switch' control (ALC850)

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>
Sergey Vlasov 20 năm trước cách đây
mục cha
commit
67e1b51e29
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      sound/pci/ac97/ac97_patch.c

+ 1 - 0
sound/pci/ac97/ac97_patch.c

@@ -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,
 };