[PATCH] ASoC: amd: yc: Add Razer Blade 14 2022 into DMI table

Limonciello, Mario Mario.Limonciello at amd.com
Fri Dec 16 16:09:08 CET 2022


[Public]



> -----Original Message-----
> From: Wim Van Boven <wimvanboven at gmail.com>
> Sent: Friday, December 16, 2022 02:18
> Cc: wimvanboven at gmail.com; Liam Girdwood <lgirdwood at gmail.com>;
> Mark Brown <broonie at kernel.org>; Jaroslav Kysela <perex at perex.cz>;
> Takashi Iwai <tiwai at suse.com>; Limonciello, Mario
> <Mario.Limonciello at amd.com>; Saba Kareem, Syed
> <Syed.SabaKareem at amd.com>; Leohearts <leohearts at leohearts.com>;
> Brent Mendelsohn <mendiebm at gmail.com>; Xiaoyan Li
> <lxy.lixiaoyan at gmail.com>; linkt <xazrael at hotmail.com>; alsa-devel at alsa-
> project.org; linux-kernel at vger.kernel.org
> Subject: [PATCH] ASoC: amd: yc: Add Razer Blade 14 2022 into DMI table
> 
> Razer Blade 14 (2022) - RZ09-0427 needs the quirk to enable the built in
> microphone
> 
> Signed-off-by: Wim Van Boven <wimvanboven at gmail.com>

Thanks!

Link: https://bugzilla.kernel.org/show_bug.cgi?id=216801
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 1f0b5527c594..469c5e79e0ea 100644
> --- a/sound/soc/amd/yc/acp6x-mach.c
> +++ b/sound/soc/amd/yc/acp6x-mach.c
> @@ -220,6 +220,13 @@ static const struct dmi_system_id
> yc_acp_quirk_table[] = {
>  			DMI_MATCH(DMI_PRODUCT_NAME, "Redmi Book
> Pro 14 2022"),
>  		}
>  	},
> +	{
> +		.driver_data = &acp6x_card,
> +		.matches = {
> +			DMI_MATCH(DMI_BOARD_VENDOR, "Razer"),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "Blade 14
> (2022) - RZ09-0427"),
> +		}
> +	},
>  	{}
>  };
> 
> --
> 2.38.1


More information about the Alsa-devel mailing list