]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: amd: yc: Add Alienware m15 R7 AMD to DMIC quirk table
authorJetha Chan <jethachan@gmail.com>
Tue, 30 Jun 2026 00:33:28 +0000 (09:33 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 30 Jun 2026 17:39:04 +0000 (18:39 +0100)
The Alienware m15 R7 AMD exposes an ACP6x DMIC path, but its DMI
product name is not present in the Yellow Carp ACP quirk table. As a
result, the ACP machine driver does not enable the DMIC card on this
system.

Add the DMI product name for this machine. With this quirk applied, the
kernel reports:

  acp_yc_mach acp_yc_mach.0: Enabling ACP DMIC support via DMI

and ALSA exposes the ACP DMIC capture device:

  card 3: acp6x
  device 0: DMIC capture dmic-hifi-0

Tested on an Alienware m15 R7 AMD with product SKU 0B59.

Link: https://jethachan.net/dev/2026/03/21/fixing-internal-microphone-alienware-linux.html
Assisted-by: OpenAI-Codex:gpt-5.5
Signed-off-by: Jetha Chan <jethachan@gmail.com>
Link: https://patch.msgid.link/20260630003328.15675-1-jethachan@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index a405cc2c11a344e655f7e51bd444ee8967099fd8..d6df7de70b275ece2871d7ba8b27cc1b8e2a59a4 100644 (file)
@@ -528,6 +528,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "Raider A18 HX A9WJG"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "Alienware"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m15 R7 AMD"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {