From a82915eaf96b4fc61307e2f908a130146308b2d3 Mon Sep 17 00:00:00 2001 From: oreo639 <31916379+Oreo639@users.noreply.github.com> Date: Wed, 22 Dec 2021 20:03:33 -0800 Subject: [PATCH] linux5.15: Fix sound on certian Lenovo 7i devices --- srcpkgs/linux5.15/patches/fix-lenovo7i-sound.patch | 12 ++++++++++++ srcpkgs/linux5.15/template | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/linux5.15/patches/fix-lenovo7i-sound.patch diff --git a/srcpkgs/linux5.15/patches/fix-lenovo7i-sound.patch b/srcpkgs/linux5.15/patches/fix-lenovo7i-sound.patch new file mode 100644 index 000000000000..b1ce24a03d0f --- /dev/null +++ b/srcpkgs/linux5.15/patches/fix-lenovo7i-sound.patch @@ -0,0 +1,12 @@ +diff -Naur sound/pci/hda/patch_realtek.c sound/pci/hda/patch_realtek-new.c +--- a/sound/pci/hda/patch_realtek.c 2021-12-21 03:21:03.324376378 -0800 ++++ b/sound/pci/hda/patch_realtek.c 2021-12-21 03:20:11.110374904 -0800 +@@ -8834,6 +8834,7 @@ + SND_PCI_QUIRK(0x17aa, 0x3813, "Legion 7i 15IMHG05", ALC287_FIXUP_LEGION_15IMHG05_SPEAKERS), + SND_PCI_QUIRK(0x17aa, 0x3852, "Lenovo Yoga 7 14ITL5", ALC287_FIXUP_YOGA7_14ITL_SPEAKERS), + SND_PCI_QUIRK(0x17aa, 0x3853, "Lenovo Yoga 7 15ITL5", ALC287_FIXUP_YOGA7_14ITL_SPEAKERS), ++ SND_PCI_QUIRK(0x17aa, 0x384a, "Lenovo Yoga 7 15ITL5", ALC287_FIXUP_YOGA7_14ITL_SPEAKERS), + SND_PCI_QUIRK(0x17aa, 0x3819, "Lenovo 13s Gen2 ITL", ALC287_FIXUP_13S_GEN2_SPEAKERS), + SND_PCI_QUIRK(0x17aa, 0x3902, "Lenovo E50-80", ALC269_FIXUP_DMIC_THINKPAD_ACPI), + SND_PCI_QUIRK(0x17aa, 0x3977, "IdeaPad S210", ALC283_FIXUP_INT_MIC), + diff --git a/srcpkgs/linux5.15/template b/srcpkgs/linux5.15/template index b3ce4c4d051a..2ee2dc67336b 100644 --- a/srcpkgs/linux5.15/template +++ b/srcpkgs/linux5.15/template @@ -1,7 +1,7 @@ # Template file for 'linux5.15' pkgname=linux5.15 version=5.15.11 -revision=1 +revision=2 wrksrc="linux-${version%.*}" short_desc="Linux kernel and modules (${version%.*} series)" maintainer="Leah Neukirchen "