]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: amd: yc: add quirk for Acer Nitro ANV15-41 internal mic
authorYuzuru10 <yuzuru_10@proton.me>
Sun, 22 Jun 2025 22:58:00 +0000 (22:58 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jul 2025 16:35:20 +0000 (18:35 +0200)
[ Upstream commit 7186b81807b4a08f8bf834b6bdc72d6ed8ba1587 ]

This patch adds DMI-based quirk for the Acer Nitro ANV15-41,
allowing the internal microphone to be detected correctly on
machines with "RB" as board vendor.

Signed-off-by: Yuzuru <yuzuru_10@proton.me>
Link: https://patch.msgid.link/20250622225754.20856-1-yuzuru_10@proton.me
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index 429e61d47ffbbe06a7a733203e9fcfad3473094d..66ef8f4fd02cd44bb1ddc70fa6b12ec54da5d65f 100644 (file)
@@ -346,6 +346,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "83Q3"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "RB"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Nitro ANV15-41"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {