]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ALSA: hda/realtek: Fix for quirk to enable speaker output on the Lenovo 13s Gen2
authorCameron Berkenpas <cam@neo-zeon.de>
Sun, 10 Oct 2021 22:54:11 +0000 (15:54 -0700)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 Oct 2021 09:05:59 +0000 (11:05 +0200)
The previous patch's HDA verb initialization for the Lenovo 13s
sequence was slightly off. This updated verb sequence has been tested
and confirmed working.

Fixes: ad7cc2d41b7a ("ALSA: hda/realtek: Quirks to enable speaker output for Lenovo Legion 7i 15IMHG05, Yoga 7i 14ITL5/15ITL5, and 13s Gen2 laptops.")
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=208555
Cc: <stable@vger.kernel.org>
Signed-off-by: Cameron Berkenpas <cam@neo-zeon.de>
Link: https://lore.kernel.org/r/20211010225410.23423-1-cam@neo-zeon.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index 73e7a92c3728207dc1f44cd4df415948b09e0978..bca5830ff7063c7d42e671bee8bd8a9445ea57ea 100644 (file)
@@ -8367,7 +8367,7 @@ static const struct hda_fixup alc269_fixups[] = {
                .v.verbs = (const struct hda_verb[]) {
                        { 0x20, AC_VERB_SET_COEF_INDEX, 0x24 },
                        { 0x20, AC_VERB_SET_PROC_COEF, 0x41 },
-                       { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 },
+                       { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 },
                        { 0x20, AC_VERB_SET_PROC_COEF, 0x2 },
                        { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },
                        { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },