1 From 6ac371aa1a74240fb910c98aa3484d5ece8473d3 Mon Sep 17 00:00:00 2001
2 From: Jian-Hong Pan <jian-hong@endlessm.com>
3 Date: Fri, 22 Mar 2019 11:37:22 +0800
4 Subject: ALSA: hda/realtek: Enable headset MIC of ASUS X430UN and X512DK with ALC256
6 From: Jian-Hong Pan <jian-hong@endlessm.com>
8 commit 6ac371aa1a74240fb910c98aa3484d5ece8473d3 upstream.
10 The ASUS X430UN and X512DK with ALC256 cannot detect the headset MIC
11 until ALC256_FIXUP_ASUS_MIC_NO_PRESENCE quirk applied.
13 Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com>
14 Signed-off-by: Daniel Drake <drake@endlessm.com>
15 Cc: <stable@vger.kernel.org>
16 Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20 sound/pci/hda/patch_realtek.c | 4 ++++
21 1 file changed, 4 insertions(+)
23 --- a/sound/pci/hda/patch_realtek.c
24 +++ b/sound/pci/hda/patch_realtek.c
25 @@ -7252,6 +7252,10 @@ static const struct snd_hda_pin_quirk al
28 SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE,
31 + {0x21, 0x04211020}),
32 + SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE,