Skip to contentSkip to conversation

soundwire: dmi-quirks: Disable ghost Realtek on Asus Expertbook

PATCH Applied Charles Keepax 2 participants 2 messages Jun 30 – Jul 2

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

PATCH 1/1 soundwire: dmi-quirks: Disable ghost Realtek on Asus Expertbook

The Asus Expertbook B9406CAA 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.

---

Seems the last quirk turned out to be unnecessary, so won't be resending that. However, to make sure we didn't get bored this one has turned up instead :-)

Thanks,
Charles

 drivers/soundwire/dmi-quirks.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/soundwire/dmi-quirks.c +7 -0
index 32a46a2d90f7c..2a98fc8c104d6 100644
@@ -178,6 +178,13 @@ static const struct dmi_system_id adr_remap_quirk_table[] = {
 		.driver_data = (void *)hp_omen_16,
 	},
 	/* PTL devices */
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUS"),
+			DMI_MATCH(DMI_BOARD_NAME, "B9406CAA"),
+		},
+		.driver_data = (void *)ghost_realtek,
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "ASUS"),
Signature · 1 line
2.47.3
maintainer Applied
#1 lore raw
Quoted 6 lines · Charles Keepax

The Asus Expertbook B9406CAA 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 Asus Expertbook

      commit: 90af3209742db61a7f9d7d054a16165818cfc6d8

Best regards,

Signature · 1 line
~Vinod