]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: amd: yc: Add DMI quirk for Acer Aspire AG14-22P
authorJorn Baayen <jhbaayen@fastmail.com>
Tue, 21 Jul 2026 15:19:23 +0000 (17:19 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 23 Jul 2026 11:50:36 +0000 (12:50 +0100)
The Acer Aspire AG14-22P has its internal microphone connected to the
ACP as a digital microphone, but the BIOS does not advertise it via the
AcpDmicConnected ACPI property, so the internal microphone does not work
out of the box. Add a DMI quirk to enable it.

Tested on an Aspire AG14-22P (board Dove2_MDU, BIOS V1.03): the acp6x
DMIC card is created and the internal microphone captures audio.

Assisted-by: Claude-Code:claude-fable-5
Signed-off-by: Jorn Baayen <jhbaayen@fastmail.com>
Link: https://patch.msgid.link/20260721151924.30316-1-jhbaayen@fastmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index 0d93e45b6178d69c6c953231149da4e8a05e8f55..de5c895e9fbd4230e704ecac4291f9ff18e91c9f 100644 (file)
@@ -45,6 +45,13 @@ static struct snd_soc_card acp6x_card = {
 };
 
 static const struct dmi_system_id yc_acp_quirk_table[] = {
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Aspire AG14-22P"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {