From 275e032556c2c274697bffb5029cbfdf9260c490 Mon Sep 17 00:00:00 2001 From: oreo639 <31916379+Oreo639@users.noreply.github.com> Date: Sat, 25 Dec 2021 18:58:26 -0800 Subject: [PATCH] linux5.15: Add speaker fixup for some Yoga 15ITL5 devices [ci skip] --- .../patches/fix-lenovo7i-sound.patch | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) 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 00000000000000..88660ce4717742 --- /dev/null +++ b/srcpkgs/linux5.15/patches/fix-lenovo7i-sound.patch @@ -0,0 +1,33 @@ +From 6dc86976220cc904e87ee58e4be19dd90d6a36d5 Mon Sep 17 00:00:00 2001 +From: Arie Geiger +Date: Thu, 23 Dec 2021 15:28:57 -0800 +Subject: ALSA: hda/realtek: Add speaker fixup for some Yoga 15ITL5 devices + +This patch adds another possible subsystem ID for the ALC287 used by +the Lenovo Yoga 15ITL5. +It uses the same initalization as the others. +This patch has been tested and works for my device. + +Signed-off-by: Arie Geiger +Cc: +Link: https://lore.kernel.org/r/20211223232857.30741-1-arsgeiger@gmail.com +Signed-off-by: Takashi Iwai +--- + 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 28255e752c4a1..08c0529c23105 100644 +--- a/sound/pci/hda/patch_realtek.c ++++ b/sound/pci/hda/patch_realtek.c +@@ -8927,6 +8927,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { + 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), +-- +cgit 1.2.3-1.el7 +