ASoC: amd: yc: Add quirk for Lenovo Yoga Pro 7 14ASP9
authorTalhah Peerbhai <talhah.peerbhai@gmail.com>
Thu, 15 May 2025 22:27:41 +0000 (01:27 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 16 May 2025 11:18:17 +0000 (13:18 +0200)
Similar to many other Lenovo models with AMD chips, the Lenovo
Yoga Pro 7 14ASP9 (product name 83HN) requires a specific quirk
to ensure internal mic detection. This patch adds a quirk fixing this.

Signed-off-by: Talhah Peerbhai <talhah.peerbhai@gmail.com>
Link: https://patch.msgid.link/20250515222741.144616-1-talhah.peerbhai@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index e632f16c9102508e89fa72992d42641d36f22e0d..3d9da93d22ee84914a92cfdc1de7b977dfd3bfa4 100644 (file)
@@ -311,6 +311,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "83AS"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "83HN"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {
@@ -360,7 +367,7 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "M5402RA"),
                }
        },
-        {
+       {
                .driver_data = &acp6x_card,
                .matches = {
                        DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."),