[PATCH] ASoC: amd: yc: Add quirk for ASUS Vivobook S15 M3502RA
From: Christian Heusel
Date: Thu Oct 10 2024 - 09:46:30 EST
As reported the builtin microphone doesn't work on the ASUS Vivobook
model S15 OLED M3502RA. Therefore add a quirk for it to make it work.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=219345
Signed-off-by: Christian Heusel <christian@xxxxxxxxx>
---
Note that I do not have the relevant hardware since I'm sending in this
quirk at the request of someone else.
Also does this change need a "Fixes: ..." tag?
---
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 06349bf0b65874321e1c54afcff50417cdc9248c..e353542dcf636b5e38db89af532a73c55e29de51 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -339,6 +339,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "M7600RE"),
}
},
+ {
+ .driver_data = &acp6x_card,
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "M3502RA"),
+ }
+ },
{
.driver_data = &acp6x_card,
.matches = {
---
base-commit: 9852d85ec9d492ebef56dc5f229416c925758edc
change-id: 20241010-bugzilla-219345-asus-vivobook-5d5e371e7b45
Best regards,
--
Christian Heusel <christian@xxxxxxxxx>