]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: amd: yc: Add DMI quirk for HP Victus Laptop 16-e1xxx
authorZhang Heng <zhangheng@kylinos.cn>
Thu, 30 Jul 2026 12:39:20 +0000 (20:39 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 31 Jul 2026 14:55:58 +0000 (15:55 +0100)
Add DMI quirk to enable ACP6x sound card for HP Victus by HP Laptop
16-e1xxx, which fixes microphone not working issue.

Without this quirk, the DMIC on acp6x device is not properly enabled,
causing the microphone to not work.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=218926
Link: https://github.com/CuerdOS/linux-kernel-nhs/commit/b29ba27a0ed672664071b4b345e63b62a419d31d
Signed-off-by: Zhang Heng <zhangheng@kylinos.cn>
Reported-by: CuerdOS Dev Team <cuerdoslinux@proton.me>
Signed-off-by: CuerdOS Dev Team <cuerdoslinux@proton.me>
Link: https://patch.msgid.link/20260730123920.104525-1-zhangheng@kylinos.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index de5c895e9fbd4230e704ecac4291f9ff18e91c9f..b62dd77b588dea8276d4aee6fd6c0643a4ca6e65 100644 (file)
@@ -724,6 +724,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "8E35"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Victus by HP Laptop 16-e1xxx"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {