From: Takashi Iwai Date: Wed, 23 Apr 2008 11:50:08 +0000 (+0200) Subject: [ALSA] hda - Fix Thinkpad X300 digital mic X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=05808ecc45802c1b533f42ed701a132d4c949034;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [ALSA] hda - Fix Thinkpad X300 digital mic TP X300 digital mic requires additional init verbs with magic COEFs. Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index f486eb16a386..e0a605adde42 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c @@ -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 */ };