ASoC: amd: Add new dmi entries to config entry
authorVenkata Prasad Potturu <venkataprasad.potturu@amd.com>
Fri, 7 Jul 2023 12:07:30 +0000 (17:37 +0530)
committerMark Brown <broonie@kernel.org>
Sun, 9 Jul 2023 21:48:03 +0000 (22:48 +0100)
Add new dmi sys vendor, product name and product family to
config entry table to enable audio for valve boards.

Signed-off-by: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>
Link: https://lore.kernel.org/r/20230707120730.1948445-5-venkataprasad.potturu@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp-config.c

index f002397caeef58afb971d6595187e85744f241e5..f27c2758000917b3f39b5962029dcdad9ed339b8 100644 (file)
@@ -47,6 +47,20 @@ static const struct config_entry config_table[] = {
                        {}
                },
        },
+       {
+               .flags = FLAG_AMD_SOF,
+               .device = ACP_PCI_DEV_ID,
+               .dmi_table = (const struct dmi_system_id []) {
+                       {
+                               .matches = {
+                                       DMI_MATCH(DMI_SYS_VENDOR, "Valve"),
+                                       DMI_MATCH(DMI_PRODUCT_NAME, "Galileo"),
+                                       DMI_MATCH(DMI_PRODUCT_FAMILY, "Sephiroth"),
+                               },
+                       },
+                       {}
+               },
+       },
 };
 
 int snd_amd_acp_find_config(struct pci_dev *pci)
This page took 0.065633 seconds and 4 git commands to generate.