]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: amd: yc: Add DMI quirk for Xiaomi RedmiBook 16 2025
authorZhang Heng <zhangheng@kylinos.cn>
Wed, 5 Aug 2026 09:15:59 +0000 (17:15 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 5 Aug 2026 11:52:54 +0000 (12:52 +0100)
Add a DMI quirk for the Xiaomi RedmiBook 16 2025 (AMD) fixing the
issue where the internal microphone was not detected.

Link: https://github.com/thesofproject/linux/issues/5860
Signed-off-by: Zhang Heng <zhangheng@kylinos.cn>
Link: https://patch.msgid.link/20260805091600.318018-1-zhangheng@kylinos.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index b62dd77b588dea8276d4aee6fd6c0643a4ca6e65..78cf082e0d95cec9127abb4d20cb82158d9047e8 100644 (file)
@@ -857,7 +857,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "Vivobook_ASUSLaptop M6500RE_M6500RE"),
                }
        },
-
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "XIAOMI"),
+                       DMI_MATCH(DMI_BOARD_NAME, "TM2423"),
+               }
+       },
        {}
 };