[ALSA] hda - Fix Thinkpad X300 digital mic
Takashi Iwai [Wed, 23 Apr 2008 11:50:08 +0000 (13:50 +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 f486eb1..e0a605a 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 */
 };