ASoC: amd: yc: Add DMI quirk for MSI Bravo 15 C7VF
authorTechno Mooney <techno.mooney@gmail.com>
Mon, 29 Jan 2024 08:11:47 +0000 (15:11 +0700)
committerMark Brown <broonie@kernel.org>
Mon, 29 Jan 2024 16:22:37 +0000 (16:22 +0000)
The laptop requires a quirk ID to enable its internal microphone. Add
it to the DMI quirk table.

Reported-by: Techno Mooney <techno.mooney@gmail.com>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218402
Cc: stable@vger.kernel.org
Signed-off-by: Techno Mooney <techno.mooney@gmail.com>
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Link: https://msgid.link/r/20240129081148.1044891-1-bagasdotme@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index d83cb6e4c62aecc6e54a700e5d22f136253e42fb..23d44a50d8157212aa5bbaa49ecd1e9acbe9aa00 100644 (file)
@@ -297,6 +297,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "Bravo 15 B7ED"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "Micro-Star International Co., Ltd."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Bravo 15 C7VF"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {