]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - queue-4.19/alsa-hda-realtek-enable-headset-mic-of-asus-x430un-and-x512dk-with-alc256.patch
5.0-stable patches
[thirdparty/kernel/stable-queue.git] / queue-4.19 / alsa-hda-realtek-enable-headset-mic-of-asus-x430un-and-x512dk-with-alc256.patch
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
5
6 From: Jian-Hong Pan <jian-hong@endlessm.com>
7
8 commit 6ac371aa1a74240fb910c98aa3484d5ece8473d3 upstream.
9
10 The ASUS X430UN and X512DK with ALC256 cannot detect the headset MIC
11 until ALC256_FIXUP_ASUS_MIC_NO_PRESENCE quirk applied.
12
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>
18
19 ---
20 sound/pci/hda/patch_realtek.c | 4 ++++
21 1 file changed, 4 insertions(+)
22
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
26 {0x14, 0x90170110},
27 {0x21, 0x03211020}),
28 SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE,
29 + {0x12, 0x90a60130},
30 + {0x14, 0x90170110},
31 + {0x21, 0x04211020}),
32 + SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE,
33 {0x1a, 0x90a70130},
34 {0x1b, 0x90170110},
35 {0x21, 0x03211020}),