ASoC: amd: yc: Fix non-functional mic on Lenovo 82YM
authorSven Frotscher <sven.frotscher@gmail.com>
Wed, 27 Sep 2023 22:36:07 +0000 (00:36 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 2 Oct 2023 15:17:44 +0000 (16:17 +0100)
Like the Lenovo 82TL, 82V2, 82QF and 82UG, the 82YM (Yoga 7 14ARP8)
requires an entry in the quirk list to enable the internal microphone.
The latter two received similar fixes in commit 1263cc0f414d
("ASoC: amd: yc: Fix non-functional mic on Lenovo 82QF and 82UG").

Fixes: c008323fe361 ("ASoC: amd: yc: Fix a non-functional mic on Lenovo 82SJ")
Cc: stable@vger.kernel.org
Signed-off-by: Sven Frotscher <sven.frotscher@gmail.com>
Link: https://lore.kernel.org/r/20230927223758.18870-1-sven.frotscher@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index 94e9eb8e73f2afbc7471bb81bfca59f20f23fdbd..15a864dcd7bd3a526ccd5a568c9dc46ad2e394c8 100644 (file)
@@ -241,6 +241,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "82V2"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "82YM"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {