ASoC: amd: yc: Add Lenovo Yoga Slim 7 Pro X to quirks table
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 20 Sep 2022 20:14:35 +0000 (15:14 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 20 Sep 2022 20:33:51 +0000 (21:33 +0100)
Lenovo Yoga Slim 7 Pro X has an ACP DMIC that isn't specified in the
ASL or existing quirk list.  Add it to the quirk table to let DMIC
work on these systems.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=216299
Tested-by: Sebastian S <iam@decentr.al>
Reported-and-tested-by: Travis Glenn Hansen <travisghansen@yahoo.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20220920201436.19734-3-mario.limonciello@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index 5eab3baf3573d2619aa8c9b8d4df981a51e817ae..2cb50d5cf1a9a48e98343485e30247c13cce760b 100644 (file)
@@ -171,6 +171,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "21J6"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "82"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {