Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Vijendar Mukunda and committed by
Mark Brown
3acf517e 7869f1c1

+16
+16
sound/soc/amd/acp/acp-sdw-legacy-mach.c
··· 95 95 }, 96 96 .driver_data = (void *)(ASOC_SDW_CODEC_SPKR), 97 97 }, 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 + }, 98 114 {} 99 115 }; 100 116