From: Xiaoyan Li Date: Tue, 20 Sep 2022 20:14:34 +0000 (-0500) Subject: ASoC: amd: yc: Add ASUS UM5302TA into DMI table X-Git-Tag: v6.1-rc1~17^2~16^2~43^2~1 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4df5b13dec9e1b5a12db47ee92eb3f7da5c3deb5;p=tomoyo%2Ftomoyo-test1.git ASoC: amd: yc: Add ASUS UM5302TA into DMI table ASUS Zenbook S 13 OLED (UM5302TA) needs this quirk to get the built-in microphone working properly. Link: https://bugzilla.kernel.org/show_bug.cgi?id=216270 Signed-off-by: Xiaoyan Li Suggested-by: Mario Limonciello Reviewed-by: Mario Limonciello Signed-off-by: Mario Limonciello Link: https://lore.kernel.org/r/20220920201436.19734-2-mario.limonciello@amd.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c index e0b24e1daef3..5eab3baf3573 100644 --- a/sound/soc/amd/yc/acp6x-mach.c +++ b/sound/soc/amd/yc/acp6x-mach.c @@ -171,6 +171,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "21J6"), } }, + { + .driver_data = &acp6x_card, + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_PRODUCT_NAME, "UM5302TA"), + } + }, {} };