]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
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 f54466ed8e3eef757b6d917a33607d95435675ef..1769e07e83dcd01df1331fc29f9d176b03a5d4ed 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 = {