[PATCH] soundwire: dmi-quirks: Add MSI Modern 16S AI+ quirk

Bard Liao posted 1 patch 22 hours ago
drivers/soundwire/dmi-quirks.c | 7 +++++++
1 file changed, 7 insertions(+)
[PATCH] soundwire: dmi-quirks: Add MSI Modern 16S AI+ quirk
Posted by Bard Liao 22 hours ago
MSI Modern 16S AI+ has the ghost rt722 codec in the BIOS.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
---
 drivers/soundwire/dmi-quirks.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/soundwire/dmi-quirks.c b/drivers/soundwire/dmi-quirks.c
index 715626174367..1c3c57ebc2ea 100644
--- a/drivers/soundwire/dmi-quirks.c
+++ b/drivers/soundwire/dmi-quirks.c
@@ -249,6 +249,13 @@ static const struct dmi_system_id adr_remap_quirk_table[] = {
 		},
 		.driver_data = (void *)ghost_realtek,
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Micro-Star International Co., Ltd."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Modern 16S AI+ G3MG"),
+		},
+		.driver_data = (void *)ghost_realtek,
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
-- 
2.43.0