--- Begin Message ---
- To: broonie@xxxxxxxxxx
- Subject: [PATCH] ASoC: amd: yc: Add ASUS M3402RA into DMI table
- From: Enrico Belleri <kilgore.trout@xxxxxxxxx>
- Date: Thu, 27 Apr 2023 21:16:45 +0200
- Cc: alsa-devel@xxxxxxxxxxxxxxxx, Enrico Belleri <kilgore.trout@xxxxxxxxx>
Fix builtin microphone on ASUS Vivobook S 14 OLED 2022 (M3402RA)
Same issue with this model as apparently with other Rembrandt laptops: https://bugzilla.kernel.org/show_bug.cgi?id=216270
Signed-off-by: Enrico Belleri <kilgore.trout@xxxxxxxxx>
---
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 4a69ce702360..80dfb6036859 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -213,6 +213,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "M5402RA"),
}
},
+ {
+ .driver_data = &acp6x_card,
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "M3402RA"),
+ }
+ },
{
.driver_data = &acp6x_card,
.matches = {
--
2.40.0
--- End Message ---