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

Wim Van Boven posted 1 patch 2 years, 9 months ago
sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
1 file changed, 7 insertions(+)
[PATCH] ASoC: amd: yc: Add Razer Blade 14 2022 into DMI table
Posted by Wim Van Boven 2 years, 9 months ago
Razer Blade 14 (2022) - RZ09-0427 needs the quirk to enable the built in microphone

Signed-off-by: Wim Van Boven <wimvanboven@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 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
Re: [PATCH] ASoC: amd: yc: Add Razer Blade 14 2022 into DMI table
Posted by Mark Brown 2 years, 8 months ago
On Fri, 16 Dec 2022 09:18:27 +0100, Wim Van Boven wrote:
> Razer Blade 14 (2022) - RZ09-0427 needs the quirk to enable the built in microphone
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: amd: yc: Add Razer Blade 14 2022 into DMI table
      commit: 68506a173dd700c2bd794dcc3489edcdb8ee35c6

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
RE: [PATCH] ASoC: amd: yc: Add Razer Blade 14 2022 into DMI table
Posted by Limonciello, Mario 2 years, 9 months ago
[Public]



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

Thanks!

Link: https://bugzilla.kernel.org/show_bug.cgi?id=216801
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 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