[PATCH] ASoC: hda/realtek: Add support for Lenovo Hudson
From: guanlan
Date: Tue Nov 10 2026 - 23:36:52 EST
From: Tao Xiao <guanlan@xxxxxxxxxx>
The Lenovo Hudson (SSID 17aa:3814) uses the same ALC287 codec with two
AW88399 HDA side-codec amplifiers as the existing Legion models, so it
needs the same speaker setup.
Apply ALC287_FIXUP_LENOVO_LEGION_AW88399 for this machine and add the
matching entry to the aw88399_prop_model_table so that the reversed I2C
wiring is corrected in the same way.
Without this, the internal speakers do not work correctly. Tested on a
Lenovo Hudson laptop.
Signed-off-by: Tao Xiao <guanlan@xxxxxxxxxx>
---
sound/hda/codecs/realtek/alc269.c | 2 ++
sound/hda/codecs/side-codecs/aw88399_hda.c | 1 +
2 files changed, 3 insertions(+)
diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
index a756e0076021..b33bd4efb51c 100644
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -8664,8 +8664,10 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
HDA_CODEC_QUIRK(0x17aa, 0x3937, "Legion R9000P ADR10H", ALC287_FIXUP_LENOVO_LEGION_AW88399),
HDA_CODEC_QUIRK(0x17aa, 0x3938, "Legion Pro 7 16AFR10H", ALC287_FIXUP_LENOVO_LEGION_AW88399),
HDA_CODEC_QUIRK(0x17aa, 0x3939, "Legion Pro 7 16AFR10H", ALC287_FIXUP_LENOVO_LEGION_AW88399),
+ HDA_CODEC_QUIRK(0x17aa, 0x3814, "Lenovo Hudson", ALC287_FIXUP_LENOVO_LEGION_AW88399),
SND_PCI_QUIRK(0x17aa, 0x393e, "Lenovo ThinkBook 14 G8+ IPH", ALC287_FIXUP_LENOVO_XPAD_HEADSET_JACK),
HDA_CODEC_QUIRK(0x17aa, 0x394c, "Lenovo Yoga Slim 7 14AGP11", ALC287_FIXUP_YOGA9_14IAP7_BASS_SPK_PIN),
+ SND_PCI_QUIRK(0x17aa, 0x3814, "Lenovo Hudson", ALC287_FIXUP_LENOVO_LEGION_AW88399),
SND_PCI_QUIRK(0x17aa, 0x3977, "IdeaPad S210", ALC283_FIXUP_INT_MIC),
SND_PCI_QUIRK(0x17aa, 0x3978, "Lenovo B50-70", ALC269_FIXUP_DMIC_THINKPAD_ACPI),
SND_PCI_QUIRK(0x17aa, 0x3bf8, "Quanta FL1", ALC269_FIXUP_PCM_44K),
diff --git a/sound/hda/codecs/side-codecs/aw88399_hda.c b/sound/hda/codecs/side-codecs/aw88399_hda.c
index 81ee8a3987fd..b204aabc5572 100644
--- a/sound/hda/codecs/side-codecs/aw88399_hda.c
+++ b/sound/hda/codecs/side-codecs/aw88399_hda.c
@@ -168,6 +168,7 @@ struct aw88399_prop_model {
};
static const struct aw88399_prop_model aw88399_prop_model_table[] = {
+ { "17AA3814", aw88399_swap_channels },
{ "17AA3906", aw88399_swap_channels },
{ "17AA3907", aw88399_swap_channels },
{ "17AA3927", aw88399_swap_channels },
base-commit: 067c5c24cef23d913b67eaaf71ae67e7169a6620
--
2.34.1