All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: amd: yc: Add ASUS UM5302TA into DMI table
@ 2022-09-17  7:08 Xiaoyan Li
  2022-09-17 13:29 ` Mario Limonciello
  0 siblings, 1 reply; 2+ messages in thread
From: Xiaoyan Li @ 2022-09-17  7:08 UTC (permalink / raw)
  To: mario.limonciello, alsa-devel; +Cc: Xiaoyan Li

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 <lxy.lixiaoyan@gmail.com>
---
 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 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"),
+		}
+	},
 	{}
 };
 
-- 
2.37.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: amd: yc: Add ASUS UM5302TA into DMI table
  2022-09-17  7:08 [PATCH] ASoC: amd: yc: Add ASUS UM5302TA into DMI table Xiaoyan Li
@ 2022-09-17 13:29 ` Mario Limonciello
  0 siblings, 0 replies; 2+ messages in thread
From: Mario Limonciello @ 2022-09-17 13:29 UTC (permalink / raw)
  To: Xiaoyan Li, alsa-devel, Saba Kareem, Syed, Hiregoudar, Basavaraj

On 9/17/22 02:08, Xiaoyan Li wrote:
> 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 <lxy.lixiaoyan@gmail.com>

Suggested-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>

> ---
>   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 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"),
> +		}
> +	},
>   	{}
>   };
>   


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-17 13:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-17  7:08 [PATCH] ASoC: amd: yc: Add ASUS UM5302TA into DMI table Xiaoyan Li
2022-09-17 13:29 ` Mario Limonciello

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.