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: acp: add DMI override for ACP70 flag

Some ASUS ProArt PX13 systems expose ACP ACPI config flags that can
select a non-working fallback path.

Add a DMI override in snd_amd_acp_find_config() for ACP70+ boards and
return 0 so ACP ACPI flag-based selection is skipped on this platform.

This keeps machine driver selection on the intended SoundWire path.

Signed-off-by: Hasun Park <hasunpark@gmail.com>
Link: https://patch.msgid.link/20260308151654.29059-2-hasunpark@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Hasun Park and committed by
Mark Brown
d0426510 fe757092

+14 -1
+14 -1
sound/soc/amd/acp-config.c
··· 23 23 24 24 static int acp_quirk_data; 25 25 26 + static const struct dmi_system_id acp70_acpi_flag_override_table[] = { 27 + { 28 + .matches = { 29 + DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."), 30 + DMI_MATCH(DMI_PRODUCT_NAME, "HN7306EA"), 31 + }, 32 + }, 33 + {} 34 + }; 35 + 26 36 static const struct config_entry config_table[] = { 27 37 { 28 38 .flags = FLAG_AMD_SOF, ··· 196 186 */ 197 187 if (!pci->revision) 198 188 return 0; 199 - else if (pci->revision >= ACP_7_0_REV) 189 + else if (pci->revision >= ACP_7_0_REV) { 190 + if (dmi_check_system(acp70_acpi_flag_override_table)) 191 + return 0; 200 192 return snd_amd_acp_acpi_find_config(pci); 193 + } 201 194 202 195 for (i = 0; i < ARRAY_SIZE(config_table); i++, table++) { 203 196 if (table->device != device)