]> git.hungrycats.org Git - linux/commitdiff
ASoC: amd: acp-config: Add HVY-WXX9/M1060 DMI quirk
authorMehmet Aysel <mehmet4ysel@gmail.com>
Tue, 25 Aug 2026 09:24:31 +0000 (12:24 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 26 Aug 2026 14:01:54 +0000 (15:01 +0100)
Add DMI match table entry for HUAWEI HVY-WXX9 board, product version
M1060, a MateBook D16 2021 (Ryzen 5 4600H) revision not covered by the
existing M1010/M1020/M1040 entries. This board uses the same
FLAG_AMD_LEGACY / ACP_PCI_DEV_ID configuration as the other HVY-WXX9
variants.

Signed-off-by: Mehmet Aysel <mehmet4ysel@gmail.com>
Link: https://patch.msgid.link/20260825092432.56292-1-mehmet4ysel@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp-config.c

index 3021dc498c855abafbc24c2c27017a6da5022b45..ef6fa3cca8487dfd93451cda432f928cf2671040 100644 (file)
@@ -209,6 +209,20 @@ static const struct config_entry config_table[] = {
                        {}
                },
        },
+       {
+               .flags = FLAG_AMD_LEGACY,
+               .device = ACP_PCI_DEV_ID,
+               .dmi_table = (const struct dmi_system_id []) {
+                       {
+                               .matches = {
+                                       DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "HUAWEI"),
+                                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "HVY-WXX9"),
+                                       DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "M1060"),
+                               },
+                       },
+                       {}
+               },
+       },
 };
 
 static int snd_amd_acp_acpi_find_config(struct pci_dev *pci)