Skip to contentSkip to conversation

soundwire: dmi-quirks: Disable ghost Realtek on Lenovo Pro 9

PATCH Applied Charles Keepax 2 participants 2 messages Sep 3 – Sep 8

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 soundwire: dmi-quirks: Disable ghost Realtek on Lenovo Pro 9

The Lenovo Pro 9 also has a Realtek device in the ACPI that doesn't exist in the physical hardware. This confuses the machine driver into attempting to create DAI links for the device. Add a quirk to remove this device.

---
 drivers/soundwire/dmi-quirks.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/soundwire/dmi-quirks.c +7 -0
index e49325331b3df..72e59b50b6853 100644
@@ -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, "83U9"),
+		},
+		.driver_data = (void *)ghost_realtek,
+	},
 	{}
 };
 
Signature · 1 line
2.47.3
maintainer Applied
#1 lore raw
Quoted 6 lines · Charles Keepax

The Lenovo Pro 9 also has a Realtek device in the ACPI that doesn't exist in the physical hardware. This confuses the machine driver into attempting to create DAI links for the device. Add a quirk to remove this device.

Applied, thanks!

[1/1] soundwire: dmi-quirks: Disable ghost Realtek on Lenovo Pro 9

      commit: a6a867552a36e647cbd35aceae24754c9bcd3661

Best regards,

Signature · 1 line
~Vinod