[PATCH] ASoC: amd: yc: add quirk for Acer Nitro AN17-41 internal mic
From: Aaron Welwood
Date: Sun Sep 06 2026 - 23:17:50 EST
The Acer Nitro AN17-41 uses "RB" as its board vendor and has no entry
in yc_acp_quirk_table, so acp6x_probe() finds no DMI match, registers
no card, and the internal digital microphone records only silence.
Add a quirk entry for it so the DMIC is enabled.
Signed-off-by: Aaron Welwood <abwelwood@xxxxxxxxx>
---
Tested on an Acer Nitro AN17-41 (board Spacia_PEH, BIOS V1.26).
Without this entry acp6x_probe() returns -ENODEV and the internal
DMIC records silence; with it the acp6x card registers and the
microphone captures normally.
sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 21d7ec0..65c4d13 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -388,6 +388,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "Nitro ANV15-41"),
}
},
+ {
+ .driver_data = &acp6x_card,
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "RB"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Nitro AN17-41"),
+ }
+ },
{
.driver_data = &acp6x_card,
.matches = {
--
2.55.0