ALSA: hda/realtek: Fix regression on Lenovo Legion 16IRX9H
PATCH 1/1 ALSA: hda/realtek: Fix regression on Lenovo Legion 16IRX9H
Lenovo Legion 16IRX9H has the very same PCI SSID (17aa:3842) as the recently added quirk for Lenovo Thinkpad X G2 IAH, but it needs a different qurik. Although the quirk for Legion 16IRX9H is present, it's not applied because the PCI SSID 17aa:3842 matches at first and the new quirk for Thinkpad X G2 is taken instead.
As a workaround, put the codec SSID matching (17aa:38cd) for Legion before the conflicting PCI SSID quirk entry.
Fixes f2293e7b2ddd ("ALSA: hda/realtek: Enable all four speaker amps on Lenovo ThinkBook X G2 IAH")
Cc <[email protected]>
Closes https://lore.kernel.org/CAFjFWEjt+DPJ_gM1uTBZ_NoV6-3mi57ArjZ_Qdah2DqY-GCD1w@mail.gmail.com open here
Signed-off-by Takashi Iwai <[email protected]>
--- sound/hda/codecs/realtek/alc269.c | 2 ++ 1 file changed, 2 insertions(+)
sound/hda/codecs/realtek/alc269.c +2 -0
@@ -8542,6 +8542,8 @@ static const struct hda_quirk alc269_fixup_tbl[] = {SND_PCI_QUIRK (0x17aa ,0x3827 ,"Ideapad S740" ,ALC285_FIXUP_IDEAPAD_S740_COEF ),SND_PCI_QUIRK (0x17aa ,0x3834 ,"Lenovo IdeaPad Slim 9i 14ITL5" ,ALC287_FIXUP_YOGA7_14ITL_SPEAKERS ),SND_PCI_QUIRK (0x17aa ,0x383d ,"Legion Y9000X 2019" ,ALC285_FIXUP_LEGION_Y9000X_SPEAKERS ), +/* Legion 16IRX9H shares PCI SSID 17aa:3842 with Thinkpad X G2 below */ +HDA_CODEC_QUIRK (0x17aa ,0x38cd ,"Lenovo Legion 16IRX9H" ,ALC287_FIXUP_TAS2781_I2C ),SND_PCI_QUIRK (0x17aa ,0x3842 ,"ThinkBook X G2 IAH" ,ALC287_FIXUP_MG_RTKC_CSAMP_CS35L41_I2C_4_THINKPAD ),/* IdeaPad Pro 5 14IAH10 shares PCI SSID 17aa:3843 with Yoga Book 9i; * use codec SSID to distinguish them
Signature · 1 line
2.53.0