ALSA: hda/conexant - Add hp-mic-fix model string
authorTakashi Iwai <tiwai@suse.de>
Fri, 18 May 2018 10:18:59 +0000 (12:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 May 2018 11:45:37 +0000 (13:45 +0200)
Add "hp-mic-fix" model string for Conexant codecs so that user can
test the quirk without recompiling.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Documentation/sound/hd-audio/models.rst
sound/pci/hda/patch_conexant.c

index 1fee5a4f6660b9e15d10e3aed1cd1d2d94283a76..7c2d37571af080ef3e2a46da12d41971357ff6cf 100644 (file)
@@ -263,6 +263,8 @@ hp-dock
     HP dock support
 mute-led-gpio
     Mute LED control via GPIO
+hp-mic-fix
+    Fix for headset mic pin on HP boxes
 
 STAC9200
 ========
index dad7e9d5e5a6bc214f556c0cf47ecbd52d9e56bd..dbf9910c52693bfaaf0017bb31aeab240d2152d4 100644 (file)
@@ -998,6 +998,7 @@ static const struct hda_model_fixup cxt5066_fixup_models[] = {
        { .id = CXT_FIXUP_MUTE_LED_EAPD, .name = "mute-led-eapd" },
        { .id = CXT_FIXUP_HP_DOCK, .name = "hp-dock" },
        { .id = CXT_FIXUP_MUTE_LED_GPIO, .name = "mute-led-gpio" },
+       { .id = CXT_FIXUP_HP_MIC_NO_PRESENCE, .name = "hp-mic-fix" },
        {}
 };