ASoC: amd: yc: Add DMI quirk for Lenovo Ideapad Pro 5 16ARP8
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 5 Feb 2024 21:48:53 +0000 (15:48 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 6 Feb 2024 09:56:05 +0000 (09:56 +0000)
The laptop requires a quirk ID to enable its internal microphone. Add
it to the DMI quirk table.

Reported-by: Stanislav Petrov <stanislav.i.petrov@gmail.com>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=216925
Cc: stable@vger.kernel.org
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20240205214853.2689-1-mario.limonciello@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index 23d44a50d8157212aa5bbaa49ecd1e9acbe9aa00..80ad60d485ea0384e428713f5f677c5c98d0d36e 100644 (file)
@@ -248,6 +248,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "82YM"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "83AS"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {