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

From: Limonciello, Mario
Date: Fri Dec 16 2022 - 10:09:19 EST


[Public]



> -----Original Message-----
> From: Wim Van Boven <wimvanboven@xxxxxxxxx>
> Sent: Friday, December 16, 2022 02:18
> Cc: wimvanboven@xxxxxxxxx; Liam Girdwood <lgirdwood@xxxxxxxxx>;
> Mark Brown <broonie@xxxxxxxxxx>; Jaroslav Kysela <perex@xxxxxxxx>;
> Takashi Iwai <tiwai@xxxxxxxx>; Limonciello, Mario
> <Mario.Limonciello@xxxxxxx>; Saba Kareem, Syed
> <Syed.SabaKareem@xxxxxxx>; Leohearts <leohearts@xxxxxxxxxxxxx>;
> Brent Mendelsohn <mendiebm@xxxxxxxxx>; Xiaoyan Li
> <lxy.lixiaoyan@xxxxxxxxx>; linkt <xazrael@xxxxxxxxxxx>; alsa-devel@alsa-
> project.org; linux-kernel@xxxxxxxxxxxxxxx
> 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@xxxxxxxxx>

Thanks!

Link: https://bugzilla.kernel.org/show_bug.cgi?id=216801
Reviewed-by: Mario Limonciello <mario.limonciello@xxxxxxx>

> ---
> 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