Takashi Iwai 2f5c9f
From d06fb562bff5d14defdacbd92449bacbaedd5cdf Mon Sep 17 00:00:00 2001
Takashi Iwai 2f5c9f
From: Hui Wang <hui.wang@canonical.com>
Takashi Iwai 2f5c9f
Date: Wed, 10 Oct 2018 11:57:25 +0800
Takashi Iwai 2f5c9f
Subject: [PATCH] ALSA: hda/realtek - Fix the problem of the front MIC on the Lenovo M715
Takashi Iwai 2f5c9f
Git-commit: d06fb562bff5d14defdacbd92449bacbaedd5cdf
Takashi Iwai 2f5c9f
Patch-mainline: v4.20-rc1
Takashi Iwai 2f5c9f
References: bsc#1051510
Takashi Iwai 2f5c9f
Takashi Iwai 2f5c9f
The front MIC on the Lenovo M715 can't record sound, after applying
Takashi Iwai 2f5c9f
the ALC294_FIXUP_LENOVO_MIC_LOCATION, the problem is fixed. So add
Takashi Iwai 2f5c9f
the pin configuration of this machine to the pin quirk table.
Takashi Iwai 2f5c9f
Takashi Iwai 2f5c9f
Cc: <stable@vger.kernel.org>
Takashi Iwai 2f5c9f
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Takashi Iwai 2f5c9f
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai 2f5c9f
Takashi Iwai 2f5c9f
---
Takashi Iwai 2f5c9f
 sound/pci/hda/patch_realtek.c | 6 ++++++
Takashi Iwai 2f5c9f
 1 file changed, 6 insertions(+)
Takashi Iwai 2f5c9f
Takashi Iwai 2f5c9f
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
Takashi Iwai 2f5c9f
index 6262d7b07099..fa61674a5605 100644
Takashi Iwai 2f5c9f
--- a/sound/pci/hda/patch_realtek.c
Takashi Iwai 2f5c9f
+++ b/sound/pci/hda/patch_realtek.c
Takashi Iwai 2f5c9f
@@ -6841,6 +6841,12 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
Takashi Iwai 2f5c9f
 		{0x1a, 0x02a11040},
Takashi Iwai 2f5c9f
 		{0x1b, 0x01014020},
Takashi Iwai 2f5c9f
 		{0x21, 0x0221101f}),
Takashi Iwai 2f5c9f
+	SND_HDA_PIN_QUIRK(0x10ec0235, 0x17aa, "Lenovo", ALC294_FIXUP_LENOVO_MIC_LOCATION,
Takashi Iwai 2f5c9f
+		{0x14, 0x90170110},
Takashi Iwai 2f5c9f
+		{0x19, 0x02a11030},
Takashi Iwai 2f5c9f
+		{0x1a, 0x02a11040},
Takashi Iwai 2f5c9f
+		{0x1b, 0x01011020},
Takashi Iwai 2f5c9f
+		{0x21, 0x0221101f}),
Takashi Iwai 2f5c9f
 	SND_HDA_PIN_QUIRK(0x10ec0235, 0x17aa, "Lenovo", ALC294_FIXUP_LENOVO_MIC_LOCATION,
Takashi Iwai 2f5c9f
 		{0x14, 0x90170110},
Takashi Iwai 2f5c9f
 		{0x19, 0x02a11020},
Takashi Iwai 2f5c9f
-- 
Takashi Iwai 2f5c9f
2.19.1
Takashi Iwai 2f5c9f