diff mbox series

ALSA: hda/realtek - Fix the problem of the front MIC on the Lenovo M715

Message ID 20181010035725.4252-1-hui.wang@canonical.com (mailing list archive)
State New, archived
Headers show
Series ALSA: hda/realtek - Fix the problem of the front MIC on the Lenovo M715 | expand

Commit Message

Hui Wang Oct. 10, 2018, 3:57 a.m. UTC
The front MIC on the Lenovo M715 can't record sound, after applying
the ALC294_FIXUP_LENOVO_MIC_LOCATION, the problem is fixed. So add
the pin configuration of this machine to the pin quirk table.

Cc: <stable@vger.kernel.org>
Signed-off-by: Hui Wang <hui.wang@canonical.com>
---
 sound/pci/hda/patch_realtek.c | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Takashi Iwai Oct. 10, 2018, 7 a.m. UTC | #1
On Wed, 10 Oct 2018 05:57:25 +0200,
Hui Wang wrote:
> 
> The front MIC on the Lenovo M715 can't record sound, after applying
> the ALC294_FIXUP_LENOVO_MIC_LOCATION, the problem is fixed. So add
> the pin configuration of this machine to the pin quirk table.
> 
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Hui Wang <hui.wang@canonical.com>

Applied, thanks.


Takashi
diff mbox series

Patch

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 6f3c8e888c2a..2871c54f62ab 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -6840,6 +6840,12 @@  static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
 		{0x1a, 0x02a11040},
 		{0x1b, 0x01014020},
 		{0x21, 0x0221101f}),
+	SND_HDA_PIN_QUIRK(0x10ec0235, 0x17aa, "Lenovo", ALC294_FIXUP_LENOVO_MIC_LOCATION,
+		{0x14, 0x90170110},
+		{0x19, 0x02a11030},
+		{0x1a, 0x02a11040},
+		{0x1b, 0x01011020},
+		{0x21, 0x0221101f}),
 	SND_HDA_PIN_QUIRK(0x10ec0235, 0x17aa, "Lenovo", ALC294_FIXUP_LENOVO_MIC_LOCATION,
 		{0x14, 0x90170110},
 		{0x19, 0x02a11020},