ASoC: amd: yc: Add Razer Blade 14 2022 into DMI table
authorWim Van Boven <wimvanboven@gmail.com>
Fri, 16 Dec 2022 08:18:27 +0000 (09:18 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 26 Dec 2022 23:23:15 +0000 (23:23 +0000)
Razer Blade 14 (2022) - RZ09-0427 needs the quirk to enable the built in microphone

Signed-off-by: Wim Van Boven <wimvanboven@gmail.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20221216081828.12382-1-wimvanboven@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index 1f0b552..469c5e7 100644 (file)
@@ -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"),
+               }
+       },
        {}
 };