[ALSA] hda - Fix Thinkpad X300 digital mic
authorTakashi Iwai <tiwai@suse.de>
Wed, 23 Apr 2008 11:50:08 +0000 (13:50 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:42 +0000 (12:00 +0200)
TP X300 digital mic requires additional init verbs with magic COEFs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_analog.c

index f486eb16a38675bc9f742788fd23efff147b2a86..e0a605adde422e76b5b4b036887346099a49c822 100644 (file)
@@ -3740,6 +3740,9 @@ static struct hda_verb ad1984a_thinkpad_verbs[] = {
        {0x11, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN | AD1884A_HP_EVENT},
        /* internal mic - dmic */
        {0x17, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN},
+       /* set magic COEFs for dmic */
+       {0x01, AC_VERB_SET_COEF_INDEX, 0x13f7},
+       {0x01, AC_VERB_SET_PROC_COEF, 0x08},
        { } /* end */
 };