]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ASoC: amd: yc: Add quirk for ASUS Vivobook S15 M3502RA
authorChristian Heusel <christian@heusel.eu>
Thu, 10 Oct 2024 13:32:11 +0000 (15:32 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 10 Oct 2024 16:03:03 +0000 (17:03 +0100)
As reported the builtin microphone doesn't work on the ASUS Vivobook
model S15 OLED M3502RA. Therefore add a quirk for it to make it work.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=219345
Signed-off-by: Christian Heusel <christian@heusel.eu>
Link: https://patch.msgid.link/20241010-bugzilla-219345-asus-vivobook-v1-1-3bb24834e2c3@heusel.eu
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index ace6328e91e31c78a81974dadf709ac0072a6306..98f9237b7ad7cc766a3a88541abb0aa60ef8c2e5 100644 (file)
@@ -339,6 +339,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "M7600RE"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "M3502RA"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {