ASoC: amd: yc: Fix non-functional mic on Lenovo 82UU
authorAttila Tőkés <attitokes@gmail.com>
Sat, 10 Feb 2024 19:36:38 +0000 (21:36 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 12 Feb 2024 16:03:08 +0000 (16:03 +0000)
Like many other models, the Lenovo 82UU (Yoga Slim 7 Pro 14ARH7)
needs a quirk entry for the internal microphone to function.

Signed-off-by: Attila Tőkés <attitokes@gmail.com>
Link: https://msgid.link/r/20240210193638.144028-1-attitokes@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index 80ad60d..cc23118 100644 (file)
@@ -234,6 +234,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "82UG"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "82UU"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {