]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ASoC: amd: yc: Add Lenovo ThinkBook 21J0 into DMI quirk table
authorJohnny Hsieh <mnixry@outlook.com>
Mon, 26 Feb 2024 13:44:50 +0000 (21:44 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 26 Feb 2024 15:45:49 +0000 (15:45 +0000)
This patch adds Lenovo 21J0 (ThinkBook 16 G5+ ARP) to the DMI quirks table
to enable internal microphone array.

Cc: linux-sound@vger.kernel.org
Signed-off-by: Johnny Hsieh <mnixry@outlook.com>
Link: https://msgid.link/r/TYSPR04MB8429D62DFDB6727866ECF1DEC55A2@TYSPR04MB8429.apcprd04.prod.outlook.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index cc231185d72c3dbfdb32f306cbbe6508e9a06e15..5587198751daae197e3d3c73a76bd4759d77a898 100644 (file)
@@ -199,6 +199,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "21HY"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "21J0"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {