ASoC: amd: yc: Add MECHREVO Jiaolong Series MRID6 into DMI table
authorRsplwe <i@rsplwe.com>
Thu, 11 May 2023 15:04:11 +0000 (23:04 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 12 May 2023 01:27:27 +0000 (10:27 +0900)
This model requires an additional detection quirk to enable the internal microphone.

Signed-off-by: Rsplwe <i@rsplwe.com
Link: https://lore.kernel.org/r/tencent_3C6819728B6704C39A864762FB0BB77DF509@qq.com
Signed-off-by: Mark Brown <broonie@kernel.org
sound/soc/amd/yc/acp6x-mach.c

index 0bc6e40..a134eba 100644 (file)
@@ -311,6 +311,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "8A22"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "MECHREVO"),
+                       DMI_MATCH(DMI_BOARD_NAME, "MRID6"),
+               }
+       },
        {}
 };