1 |
From 54a6a7dc107da0492a9e84fd7e9a107b3c58138d Mon Sep 17 00:00:00 2001 |
2 |
From: Kailang Yang <kailang@realtek.com> |
3 |
Date: Wed, 8 Jan 2020 16:47:56 +0800 |
4 |
Subject: ALSA: hda/realtek - Add quirk for the bass speaker on Lenovo Yoga X1 7th gen |
5 |
|
6 |
From: Kailang Yang <kailang@realtek.com> |
7 |
|
8 |
commit 54a6a7dc107da0492a9e84fd7e9a107b3c58138d upstream. |
9 |
|
10 |
Add quirk to ALC285_FIXUP_SPEAKER2_TO_DAC1, which is the same fixup |
11 |
applied for X1 Carbon 7th gen in commit d2cd795c4ece ("ALSA: hda - |
12 |
fixup for the bass speaker on Lenovo Carbon X1 7th gen"). |
13 |
|
14 |
Signed-off-by: Kailang Yang <kailang@realtek.com> |
15 |
Reviewed-by: Jaroslav Kysela <perex@perex.cz> |
16 |
Cc: <stable@vger.kernel.org> |
17 |
Signed-off-by: Takashi Iwai <tiwai@suse.de> |
18 |
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
19 |
|
20 |
--- |
21 |
sound/pci/hda/patch_realtek.c | 1 + |
22 |
1 file changed, 1 insertion(+) |
23 |
|
24 |
--- a/sound/pci/hda/patch_realtek.c |
25 |
+++ b/sound/pci/hda/patch_realtek.c |
26 |
@@ -7260,6 +7260,7 @@ static const struct snd_pci_quirk alc269 |
27 |
SND_PCI_QUIRK(0x17aa, 0x224c, "Thinkpad", ALC298_FIXUP_TPT470_DOCK), |
28 |
SND_PCI_QUIRK(0x17aa, 0x224d, "Thinkpad", ALC298_FIXUP_TPT470_DOCK), |
29 |
SND_PCI_QUIRK(0x17aa, 0x225d, "Thinkpad T480", ALC269_FIXUP_LIMIT_INT_MIC_BOOST), |
30 |
+ SND_PCI_QUIRK(0x17aa, 0x2292, "Thinkpad X1 Yoga 7th", ALC285_FIXUP_SPEAKER2_TO_DAC1), |
31 |
SND_PCI_QUIRK(0x17aa, 0x2293, "Thinkpad X1 Carbon 7th", ALC285_FIXUP_SPEAKER2_TO_DAC1), |
32 |
SND_PCI_QUIRK(0x17aa, 0x30bb, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY), |
33 |
SND_PCI_QUIRK(0x17aa, 0x30e2, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY), |