ASoC: amd: yc: Support mic on Lenovo Thinkpad E16 Gen 2
authorTakashi Iwai <tiwai@suse.de>
Thu, 25 Jul 2024 06:54:28 +0000 (08:54 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 25 Jul 2024 11:12:38 +0000 (12:12 +0100)
Lenovo Thinkpad E16 Gen 2 AMD model (model 21M5) needs a corresponding
quirk entry for making the internal mic working.

Link: https://bugzilla.suse.com/show_bug.cgi?id=1228269
Cc: stable@vger.kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20240725065442.9293-1-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index f54466e..1769e07 100644 (file)
@@ -220,6 +220,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, "21M5"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {