]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: amd: yc: Enable internal mic on MSI Bravo 17 C7VF
authorJoão Miguel <jmiguel.ghp@gmail.com>
Sat, 23 May 2026 21:35:48 +0000 (22:35 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 1 Jun 2026 16:19:50 +0000 (17:19 +0100)
The MSI Bravo 17 C7VF routes its internal digital microphone through
the ACP6x. The machine driver only enables the DMIC for boards present
in the DMI quirk table, so on this model the internal mic is never
detected and no capture device is created.

Add a quirk entry matching the board's DMI identifiers so the DMIC is
enabled and the internal microphone works.

Signed-off-by: João Miguel <jmiguel.ghp@gmail.com>
Link: https://patch.msgid.link/20260523213548.5219-1-jmiguel.ghp@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index 7a637d6b5576446d11b0d428eba1d15120cef243..a93a7fd4877e088a247e03bff5243b6b636aba67 100644 (file)
@@ -794,6 +794,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "M7601RM"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "Micro-Star International Co., Ltd."),
+                       DMI_MATCH(DMI_BOARD_NAME, "MS-17LN"),
+               }
+       },
        {}
 };