summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2020-04-02 19:55:00 +0200
committerHans de Goede <hdegoede@redhat.com>2020-04-02 19:55:00 +0200
commit1e34012f4ca47475823fac26e20fe38dac09a11d (patch)
tree9427226abd5969bba557d3c1e24834f484a46b6c
parent9093977089692262d1f802cdbf0b70a0081746f6 (diff)
downloadkernel-1e34012f4ca47475823fac26e20fe38dac09a11d.tar.gz
kernel-1e34012f4ca47475823fac26e20fe38dac09a11d.tar.xz
kernel-1e34012f4ca47475823fac26e20fe38dac09a11d.zip
Add patch fixing Lenovo X1 7th and 8th gen not suspending (rhbz 1816621)
Add patch fixing Lenovo X1 8th gen speaker volume control (rhbz 1820196)
-rw-r--r--0001-ALSA-hda-realtek-Add-quirk-for-Lenovo-Carbon-X1-8th-.patch34
-rw-r--r--kernel.spec4
2 files changed, 38 insertions, 0 deletions
diff --git a/0001-ALSA-hda-realtek-Add-quirk-for-Lenovo-Carbon-X1-8th-.patch b/0001-ALSA-hda-realtek-Add-quirk-for-Lenovo-Carbon-X1-8th-.patch
new file mode 100644
index 000000000..9c482f90c
--- /dev/null
+++ b/0001-ALSA-hda-realtek-Add-quirk-for-Lenovo-Carbon-X1-8th-.patch
@@ -0,0 +1,34 @@
+From 672798e7b896ad659009882b7fd3242935c8fcdf Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede@redhat.com>
+Date: Thu, 2 Apr 2020 18:02:05 +0200
+Subject: [PATCH] ALSA: hda/realtek - Add quirk for Lenovo Carbon X1 8th gen
+
+The audio setup on the Lenovo Carbon X1 8th gen is the same as that on
+the Lenovo Carbon X1 7th gen, as such it needs the same
+ALC285_FIXUP_THINKPAD_HEADSET_JACK quirk.
+
+This fixes volume control of the speaker not working among other things.
+
+BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1820196
+Cc: stable@vger.kernel.org
+Suggested-by: Jaroslav Kysela <perex@perex.cz>
+Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+---
+ sound/pci/hda/patch_realtek.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
+index 63e1a56f705b..9c3bbf1df93e 100644
+--- a/sound/pci/hda/patch_realtek.c
++++ b/sound/pci/hda/patch_realtek.c
+@@ -7299,6 +7299,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
+ SND_PCI_QUIRK(0x17aa, 0x225d, "Thinkpad T480", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
+ SND_PCI_QUIRK(0x17aa, 0x2292, "Thinkpad X1 Yoga 7th", ALC285_FIXUP_THINKPAD_HEADSET_JACK),
+ SND_PCI_QUIRK(0x17aa, 0x2293, "Thinkpad X1 Carbon 7th", ALC285_FIXUP_THINKPAD_HEADSET_JACK),
++ SND_PCI_QUIRK(0x17aa, 0x22be, "Thinkpad X1 Carbon 8th", ALC285_FIXUP_THINKPAD_HEADSET_JACK),
+ SND_PCI_QUIRK(0x17aa, 0x30bb, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY),
+ SND_PCI_QUIRK(0x17aa, 0x30e2, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY),
+ SND_PCI_QUIRK(0x17aa, 0x310c, "ThinkCentre Station", ALC294_FIXUP_LENOVO_MIC_LOCATION),
+--
+2.26.0
+
diff --git a/kernel.spec b/kernel.spec
index 2e3227ba7..57a5ee5d5 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -897,6 +897,9 @@ Patch510: 0001-mac80211-fix-authentication-with-iwlwifi-mvm.patch
# https://patchwork.ozlabs.org/patch/1260523/
Patch511: e1000e-bump-up-timeout-to-wait-when-ME-un-configure-ULP-mode.patch
+# https://bugzilla.redhat.com/show_bug.cgi?id=1820196
+Patch512: 0001-ALSA-hda-realtek-Add-quirk-for-Lenovo-Carbon-X1-8th-.patch
+
# END OF PATCH DEFINITIONS
%endif
@@ -2994,6 +2997,7 @@ fi
%changelog
* Thu Apr 02 2020 Hans de Goede <hdegoede@redhat.com>
- Add patch fixing Lenovo X1 7th and 8th gen not suspending (rhbz 1816621)
+- Add patch fixing Lenovo X1 8th gen speaker volume control (rhbz 1820196)
* Wed Apr 01 2020 Jeremy Cline <jcline@redhat.com> - 5.6.1-300
- Linux v5.6.1