]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/realtek: Add codec SSID quirk for Lenovo Yoga Pro 9 16IMH9
authorRámon van Raaij <ramon@vanraaij.eu>
Thu, 30 Apr 2026 19:12:24 +0000 (21:12 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 1 May 2026 13:01:01 +0000 (15:01 +0200)
commit56722cfbb78d7eb41756cd78dc5192d08bd14f3d
tree842f0f8575d8c5201c4fcba5d957064583e6615e
parent92a8b5e2eff6920bf815cd6a80b088ec3fdf01a3
ALSA: hda/realtek: Add codec SSID quirk for Lenovo Yoga Pro 9 16IMH9

The Yoga Pro 9 16IMH9 (codec SSID 17aa:38d6) shares PCI audio device
subsystem ID 17aa:3811 with the Legion S7 15IMH05. The existing
SND_PCI_QUIRK entry for the Legion routes both machines to
ALC287_FIXUP_LEGION_15IMHG05_SPEAKERS, which does not bind the TAS2781
smart amplifiers, resulting in near-silent built-in speakers.

Add an HDA_CODEC_QUIRK entry immediately before the conflicting PCI quirk
that matches the Yoga Pro 9's unique codec SSID and routes it to
ALC287_FIXUP_TAS2781_I2C. Codec quirks are evaluated after PCI quirks and
take precedence, leaving the Legion S7 15IMH05 entry unaffected.

This follows the same pattern used to disambiguate PCI SSID 17aa:3847
(shared between Yoga Pro 7 14IMH9 and Legion 7 16ACHG6), where a
HDA_CODEC_QUIRK for codec SSID 17aa:38cf resolves the conflict.

Signed-off-by: Rámon van Raaij <ramon@vanraaij.eu>
Link: https://patch.msgid.link/20260430191224.patch1-ramon@vanraaij.eu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/codecs/realtek/alc269.c