[PATCH] ASoC: amd: yc: Add Alienware m17 R5 AMD into DMI table

Limonciello, Mario Mario.Limonciello at amd.com
Mon Oct 24 19:50:11 CEST 2022


[Public]

(Cc Dell guys for awareness)

> -----Original Message-----
> From: Brent Mendelsohn <mendiebm at gmail.com>
> Sent: Monday, October 24, 2022 12:42
> To: alsa-devel at alsa-project.org
> Cc: Limonciello, Mario <Mario.Limonciello at amd.com>; Saba Kareem, Syed
> <Syed.SabaKareem at amd.com>; broonie at kernel.org; Brent Mendelsohn
> <mendiebm at gmail.com>
> Subject: [PATCH] ASoC: amd: yc: Add Alienware m17 R5 AMD into DMI table
> 
> This model requires an additional detection quirk to enable the
> internal microphone - BIOS doesn't seem to support AcpDmicConnected
> (nothing in acpidump output).
> 
> Link:
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugz
> illa.kernel.org%2Fshow_bug.cgi%3Fid%3D216590&data=05%7C01%7Cm
> ario.limonciello%40amd.com%7Cc3808da832884e6852ed08dab5e726ae%7C3
> dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C638022301772415092%7C
> Unknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJB
> TiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=D9XYJZnX
> p9koWxyqdGDMTrfQtfflA2oXmsGek9UMbQs%3D&reserved=0
> Signed-off-by: Brent Mendelsohn <mendiebm at gmail.com>

Thanks!

Reviewed-by: Mario Limonciello <mario.limonciello at 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 2cb50d5cf1a9..a868a890f00c 100644
> --- a/sound/soc/amd/yc/acp6x-mach.c
> +++ b/sound/soc/amd/yc/acp6x-mach.c
> @@ -185,6 +185,13 @@ static const struct dmi_system_id
> yc_acp_quirk_table[] = {
>  			DMI_MATCH(DMI_PRODUCT_NAME, "UM5302TA"),
>  		}
>  	},
> +	{
> +		.driver_data = &acp6x_card,
> +		.matches = {
> +			DMI_MATCH(DMI_BOARD_VENDOR, "Alienware"),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "Alienware
> m17 R5 AMD"),
> +		}
> +	},
>  	{}
>  };
> 
> --
> 2.37.3


More information about the Alsa-devel mailing list