ASoC: amd: yc: Add ASUS M3402RA into DMI table
authorEnrico Belleri <kilgore.trout@idesmi.eu>
Thu, 27 Apr 2023 19:16:45 +0000 (21:16 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 27 Apr 2023 20:55:33 +0000 (21:55 +0100)
Fix builtin microphone on ASUS Vivobook S 14 OLED 2022 (M3402RA)

Same issue with this model as apparently with other Rembrandt laptops: https://bugzilla.kernel.org/show_bug.cgi?id=216270

Signed-off-by: Enrico Belleri <kilgore.trout@idesmi.eu>
Link: https://lore.kernel.org/r/20230427191645.24519-1-kilgore.trout@idesmi.eu
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index b9958e55536744fdec7b1aa9455a70f09cad12a3..69b363dd0d10bb044760b1d1ac89ab7238cdfc31 100644 (file)
@@ -227,6 +227,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "M5402RA"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "M3402RA"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {