summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAniol Martí <aniol@aniolmarti.cat>2022-12-28 01:49:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-02-01 10:34:29 +0300
commitf48c6b680e74084feeb0b195d7751413bbecc800 (patch)
tree2889125186a7ac52ab0a62b85a12d39a1fadec02
parenta0e83ab31144021e1c7963dbb91387c5c8600ea5 (diff)
downloadlinux-f48c6b680e74084feeb0b195d7751413bbecc800.tar.xz
ASoC: amd: yc: Add ASUS M5402RA into DMI table
[ Upstream commit a0dd7fcab5cd221fa960f594c586e1f9f16c02c0 ] ASUS VivoBook 13 OLED (M5402RA) needs this quirk to get the built-in microphone working properly. Signed-off-by: Aniol Martí <aniol@aniolmarti.cat> Link: https://lore.kernel.org/r/20221227224932.9771-1-aniol@aniolmarti.cat Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--sound/soc/amd/yc/acp6x-mach.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 469c5e79e0ea..0d283e41f66d 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -209,6 +209,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
{
.driver_data = &acp6x_card,
.matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "M5402RA"),
+ }
+ },
+ {
+ .driver_data = &acp6x_card,
+ .matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "Alienware"),
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m17 R5 AMD"),
}