ASoC: amd: yc: fix internal mic on Redmi G 2022
authorAlex Far <anf1980@gmail.com>
Sat, 16 Nov 2024 18:58:45 +0000 (21:58 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 18 Nov 2024 15:10:56 +0000 (15:10 +0000)
This laptop model requires an additional detection quirk to enable the
internal microphone

Signed-off-by: Alex Far <anf1980@gmail.com>
Link: https://patch.msgid.link/ZzjrZY3sImcqTtGx@RedmiG
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c

index 2436e8d..1b9834e 100644 (file)
@@ -409,6 +409,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "Xiaomi Book Pro 14 2022"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "TIMI"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Redmi G 2022"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {