Skip to content

Commit 3acf517

Browse files
vijendarmukundabroonie
authored andcommitted
ASoC: amd: amd_sdw: add machine driver quirk for Lenovo models
This patch adds a quirk to include the codec amplifier function for Lenovo models listed in the quirk table. Note: In these models, the RT722 codec amplifier is excluded, and an external amplifier is used instead. Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Link: https://patch.msgid.link/20260218104734.3641481-3-Vijendar.Mukunda@amd.com Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 7869f1c commit 3acf517

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

sound/soc/amd/acp/acp-sdw-legacy-mach.c

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,22 @@ static const struct dmi_system_id soc_sdw_quirk_table[] = {
9595
},
9696
.driver_data = (void *)(ASOC_SDW_CODEC_SPKR),
9797
},
98+
{
99+
.callback = soc_sdw_quirk_cb,
100+
.matches = {
101+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
102+
DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "21YW"),
103+
},
104+
.driver_data = (void *)(ASOC_SDW_CODEC_SPKR),
105+
},
106+
{
107+
.callback = soc_sdw_quirk_cb,
108+
.matches = {
109+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
110+
DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "21YX"),
111+
},
112+
.driver_data = (void *)(ASOC_SDW_CODEC_SPKR),
113+
},
98114
{}
99115
};
100116

0 commit comments

Comments
 (0)