[PATCH] ALSA: hda/realtek: Add codec SSID quirk for Lenovo Legion 7 16ITHg6

SirDoctorGentleman posted 1 patch 1 month ago
sound/hda/codecs/realtek/alc269.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
[PATCH] ALSA: hda/realtek: Add codec SSID quirk for Lenovo Legion 7 16ITHg6
Posted by SirDoctorGentleman 1 month ago
PCI SSID 17aa:3811 is shared by the Legion S7 15IMH05 and the Legion 7
16ITHg6 (codec SSID 17aa:3855). The existing PCI quirk applies the S7
15IMH05 fixup to both, so the 16ITHg6's CS35L41 i2c amps never bind
and internal speakers stay silent.

Add an HDA_CODEC_QUIRK matching the codec SSID, routing the 16ITHg6 to
ALC287_FIXUP_LEGION_16ITHG6. Mirrors the existing Yoga Pro 9 16IMH9
entry on the same shared PCI SSID.

Signed-off-by: javi <amagicalfishy@gmail.com>
---
 sound/hda/codecs/realtek/alc269.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sound/hda/codecs/realtek/alc269.c
b/sound/hda/codecs/realtek/alc269.c
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -7675,10 +7675,11 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
      SND_PCI_QUIRK(0x17aa, 0x3801, "Lenovo Yoga9 14IAP7",
ALC287_FIXUP_YOGA9_14IAP7_BASS_SPK_PIN),
      HDA_CODEC_QUIRK(0x17aa, 0x3802, "DuetITL 2021",
ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),
      SND_PCI_QUIRK(0x17aa, 0x3802, "Lenovo Yoga Pro 9 14IRP8",
ALC287_FIXUP_TAS2781_I2C),
-     /* Yoga Pro 9 16IMH9 shares PCI SSID 17aa:3811 with Legion S7 15IMH05;
-      * use codec SSID to distinguish them
+     /* Yoga Pro 9 16IMH9 and Legion 7 16ITHg6 share PCI SSID 17aa:3811
+      * with Legion S7 15IMH05; use codec SSID to distinguish them
       */
      HDA_CODEC_QUIRK(0x17aa, 0x38d6, "Lenovo Yoga Pro 9 16IMH9",
ALC287_FIXUP_TAS2781_I2C),
+     HDA_CODEC_QUIRK(0x17aa, 0x3855, "Legion 7 16ITHg6",
ALC287_FIXUP_LEGION_16ITHG6),
      SND_PCI_QUIRK(0x17aa, 0x3811, "Legion S7 15IMH05",
ALC287_FIXUP_LEGION_15IMHG05_SPEAKERS),
      SND_PCI_QUIRK(0x17aa, 0x3813, "Legion 7i 15IMHG05",
ALC287_FIXUP_LEGION_15IMHG05_SPEAKERS),
      SND_PCI_QUIRK(0x17aa, 0x3818, "Lenovo C940 / Yoga Duet 7",
ALC298_FIXUP_LENOVO_C940_DUET7),
Re: [PATCH] ALSA: hda/realtek: Add codec SSID quirk for Lenovo Legion 7 16ITHg6
Posted by Takashi Iwai 3 weeks, 6 days ago
On Mon, 11 May 2026 05:56:34 +0200,
SirDoctorGentleman wrote:
> 
> PCI SSID 17aa:3811 is shared by the Legion S7 15IMH05 and the Legion 7
> 16ITHg6 (codec SSID 17aa:3855). The existing PCI quirk applies the S7
> 15IMH05 fixup to both, so the 16ITHg6's CS35L41 i2c amps never bind
> and internal speakers stay silent.
> 
> Add an HDA_CODEC_QUIRK matching the codec SSID, routing the 16ITHg6 to
> ALC287_FIXUP_LEGION_16ITHG6. Mirrors the existing Yoga Pro 9 16IMH9
> entry on the same shared PCI SSID.
> 
> Signed-off-by: javi <amagicalfishy@gmail.com>

Please use either a real name or a known identity for Sign-off and
From and resubmit.  It's a legal requirement for upstreaming.


thanks,

Takashi