aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-05-18 12:18:59 +0200
committerTakashi Iwai <tiwai@suse.de>2018-05-22 13:45:37 +0200
commit09b83d107d8ac70ff8b0c368182e36a6e06b8cf4 (patch)
tree3198d757327b398918fcae598ce975b9a880c4c5
parentALSA: hda/conexant - Add fixup for HP Z2 G4 workstation (diff)
downloadlinux-dev-09b83d107d8ac70ff8b0c368182e36a6e06b8cf4.tar.xz
linux-dev-09b83d107d8ac70ff8b0c368182e36a6e06b8cf4.zip
ALSA: hda/conexant - Add hp-mic-fix model string
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>
-rw-r--r--Documentation/sound/hd-audio/models.rst2
-rw-r--r--sound/pci/hda/patch_conexant.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/sound/hd-audio/models.rst b/Documentation/sound/hd-audio/models.rst
index 1fee5a4f6660..7c2d37571af0 100644
--- a/Documentation/sound/hd-audio/models.rst
+++ b/Documentation/sound/hd-audio/models.rst
@@ -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
========
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index dad7e9d5e5a6..dbf9910c5269 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -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" },
{}
};