]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: amd: yc: Add MSI Raider A18 HX A9WJG to quirk table
authorDavid Glushkov <david.glushkov@sntiq.com>
Sun, 31 May 2026 21:45:12 +0000 (23:45 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 4 Jun 2026 10:20:33 +0000 (11:20 +0100)
The MSI Raider A18 HX A9WJG has an internal digital microphone
connected through AMD ACP6x, but this machine does not expose the
AcpDmicConnected ACPI property, so acp_yc_mach does not bind.

Add a DMI quirk for this model.

This was tested on an MSI Raider A18 HX A9WJG with board MS-182L,
BIOS E182LAMS.31A, AMD ACP6x rev 0x62, and Realtek ALC274. After
applying the quirk, the internal microphone appears as an acp6x DMIC
capture device and records correctly.

Signed-off-by: David Glushkov <david.glushkov@sntiq.com>
Link: https://patch.msgid.link/20260531214512.170716-1-david.glushkov@sntiq.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index a93a7fd4877e088a247e03bff5243b6b636aba67..b426cda529a98ce89e53f2e63d5ff2c95e3aaca9 100644 (file)
@@ -521,6 +521,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "Vector A16 HX A8WHG"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "Micro-Star International Co., Ltd."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Raider A18 HX A9WJG"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {