[PATCH] soundwire: dmi-quirks: Disable ghost Realtek on Lenovo Yoga 7 Pro

Bard Liao posted 1 patch 2 weeks ago
drivers/soundwire/dmi-quirks.c | 7 +++++++
1 file changed, 7 insertions(+)
[PATCH] soundwire: dmi-quirks: Disable ghost Realtek on Lenovo Yoga 7 Pro
Posted by Bard Liao 2 weeks ago
Another Lenovo module that has a Realtek device in the ACPI that
doesn't exist in the physical hardware.

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 72e59b50b685..0b4f5cec8cfd 100644
--- a/drivers/soundwire/dmi-quirks.c
+++ b/drivers/soundwire/dmi-quirks.c
@@ -235,6 +235,13 @@ static const struct dmi_system_id adr_remap_quirk_table[] = {
 		},
 		.driver_data = (void *)ghost_realtek,
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "83SN"),
+		},
+		.driver_data = (void *)ghost_realtek,
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
-- 
2.43.0