[ALSA] hda-codec - Fix front/rear mic inputs on AD1986A codec
authorAndrea Arcangeli <andrea@suse.de>
Thu, 22 Mar 2007 00:02:58 +0000 (01:02 +0100)
committerJaroslav Kysela <perex@suse.cz>
Fri, 11 May 2007 14:55:52 +0000 (16:55 +0200)
Fix the front/rear mic inputs on ASUS M2NPV-VM board with AD1986A
codec chip (3stack model).

Signed-off-by: Andrea Arcangeli <andrea@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/patch_analog.c

index f94f1f22889ee07ca48f7cc0557c9245e5dd860c..9c241ccf690795ddb44ddcf9fed3329dbb9b24f2 100644 (file)
@@ -741,8 +741,9 @@ static struct hda_verb ad1986a_init_verbs[] = {
 
 /* additional verbs for 3-stack model */
 static struct hda_verb ad1986a_3st_init_verbs[] = {
-       /* Mic and line-in selectors */
-       {0x0f, AC_VERB_SET_CONNECT_SEL, 0x2},
+       /* Mic selector, mix C/LFE (backmic) and Mic (frontmic) */
+       {0x0f, AC_VERB_SET_CONNECT_SEL, 0x4},
+       /* Line-in selectors */
        {0x10, AC_VERB_SET_CONNECT_SEL, 0x1},
        { } /* end */
 };