ASoC: amd: yc: Add Thinkpad Neo14 to quirks list for acp6x
authorSicong Jiang <kevin.jiangsc@gmail.com>
Wed, 31 May 2023 09:06:35 +0000 (21:06 +1200)
committerMark Brown <broonie@kernel.org>
Wed, 31 May 2023 11:24:59 +0000 (12:24 +0100)
Thinkpad Neo14 Ryzen Edition uses Ryzen 6800H processor, and adding to
quirks list for acp6x will enable internal mic.

Signed-off-by: Sicong Jiang <kevin.jiangsc@gmail.com>
Link: https://lore.kernel.org/r/20230531090635.89565-1-kevin.jiangsc@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index 4406a5def0768e2c7495daae8b595e3bd0bffff8..246299a178f9bc8a60a7c8f24ba6b21dc0f3dc61 100644 (file)
@@ -171,6 +171,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "21CL"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "21EF"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {