]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: amd: acp: add ACP70 DMI override for new ASUS TUF platforms
authorSyed Saba Kareem <Syed.SabaKareem@amd.com>
Fri, 10 Jul 2026 10:29:19 +0000 (15:59 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 13 Jul 2026 19:22:38 +0000 (20:22 +0100)
Some ASUS TUF ACP70-based systems expose ACP ACPI configuration flags
that select a non-working fallback audio path, similar to previously
affected ASUS platforms.

Add DMI-based overrides in snd_amd_acp_find_config() for the following
systems to skip ACP ACPI flag-based selection:

  - ASUS TUF Gaming Vivobook 18
  - ASUS TUF Gaming A14 FA401EA

This ensures the intended SoundWire-based machine driver is selected on
these platforms.

Signed-off-by: Syed Saba Kareem <Syed.SabaKareem@amd.com>
Link: https://patch.msgid.link/20260710102926.1633385-1-syed.sabakareem@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp-config.c

index 0d977f4f758d9aeff483f1b36f483a122cbc870c..0519465627258104caa26a04e31e842b9322ccc5 100644 (file)
@@ -44,6 +44,18 @@ static const struct dmi_system_id acp70_acpi_flag_override_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "83W5"),
                },
        },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "TUF Gaming A14 FA401EA"),
+               },
+       },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Vivobook 18 M1807GA"),
+               },
+       },
        {}
 };