[PATCH] ASoC: amd: yc: Fix non-functional mic on ASUS E1404FA

From: Илья Яковлев
Date: Tue Oct 15 2024 - 10:01:51 EST


ASUS VivoBook E1404FA needs a quirks-table entry for the internal microphone to function properly.
diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index ace6328..d06c162 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -325,6 +325,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "M6500RC"),
}
},
+ {
+ .driver_data = &acp6x_card,
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "E1404FA"),
+ }
+ },
{
.driver_data = &acp6x_card,
.matches = {