ASoC: amd: yc: Add DMI entry to support System76 Pangolin 12
authorJeremy Soller <jeremy@system76.com>
Fri, 5 May 2023 16:14:58 +0000 (10:14 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 8 May 2023 00:07:42 +0000 (09:07 +0900)
Add pang12 quirk to enable the internal microphone.

Signed-off-by: Jeremy Soller <jeremy@system76.com
Signed-off-by: Tim Crawford <tcrawford@system76.com
Link: https://lore.kernel.org/r/20230505161458.19676-1-tcrawford@system76.com
Signed-off-by: Mark Brown <broonie@kernel.org
sound/soc/amd/yc/acp6x-mach.c

index 0bc6e4066d0f5b1b015ff7b7639e1f9baa14ae98..4406a5def0768e2c7495daae8b595e3bd0bffff8 100644 (file)
@@ -311,6 +311,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "8A22"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "System76"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "pang12"),
+               }
+       },
        {}
 };