]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ASoC: amd: yc: Add a quirk for microfone on Lenovo ThinkPad P14s Gen 5 21MES00B00
authorIlya Zverev <ilya@zverev.info>
Wed, 27 Nov 2024 13:44:20 +0000 (15:44 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 27 Nov 2024 13:45:45 +0000 (13:45 +0000)
New ThinkPads need new quirk entries. Ilya has tested this one.
Laptop product id is 21MES00B00, though the shorthand 21ME works.

Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219533
Cc: stable@vger.kernel.org
Signed-off-by: Ilya Zverev <ilya@zverev.info>
Link: https://patch.msgid.link/20241127134420.14471-1-ilya@zverev.info
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index facd82f0f2519445a6dff471a8dc82cb193ea1b3..e38c5885dadfbc33a41723a96a656bbc622a7c65 100644 (file)
@@ -248,6 +248,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "21M5"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "21ME"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {