projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7869f1c
)
ASoC: amd: amd_sdw: add machine driver quirk for Lenovo models
author
Vijendar Mukunda
<Vijendar.Mukunda@amd.com>
Wed, 18 Feb 2026 10:45:34 +0000
(16:15 +0530)
committer
Mark Brown
<broonie@kernel.org>
Wed, 18 Feb 2026 17:12:38 +0000
(17:12 +0000)
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>
sound/soc/amd/acp/acp-sdw-legacy-mach.c
patch
|
blob
|
history
diff --git
a/sound/soc/amd/acp/acp-sdw-legacy-mach.c
b/sound/soc/amd/acp/acp-sdw-legacy-mach.c
index
9cb55d5
..
c93fc09
100644
(file)
--- a/
sound/soc/amd/acp/acp-sdw-legacy-mach.c
+++ b/
sound/soc/amd/acp/acp-sdw-legacy-mach.c
@@
-95,6
+95,22
@@
static const struct dmi_system_id soc_sdw_quirk_table[] = {
},
.driver_data = (void *)(ASOC_SDW_CODEC_SPKR),
},
+ {
+ .callback = soc_sdw_quirk_cb,
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "21YW"),
+ },
+ .driver_data = (void *)(ASOC_SDW_CODEC_SPKR),
+ },
+ {
+ .callback = soc_sdw_quirk_cb,
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "21YX"),
+ },
+ .driver_data = (void *)(ASOC_SDW_CODEC_SPKR),
+ },
{}
};