ASoC: amd: yc: Add Asus VivoBook Pro 14 OLED M6400RC to the quirks list for acp6x
authorAndrey Rakhmatullin <wrar@wrar.name>
Mon, 1 May 2023 18:51:34 +0000 (22:51 +0400)
committerMark Brown <broonie@kernel.org>
Thu, 4 May 2023 01:14:30 +0000 (10:14 +0900)
This is needed (and enough) to get the internal mic visible and working.

Signed-off-by: Andrey Rakhmatullin <wrar@wrar.name>
Message-Id: <20230501185134.34591-1-wrar@wrar.name>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index 69b363dd0d10bb044760b1d1ac89ab7238cdfc31..0bc6e4066d0f5b1b015ff7b7639e1f9baa14ae98 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, "M6400RC"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {