Skip to contentSkip to conversation

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

PATCH Applied Ian Luites 3 participants 3 messages Aug 31 – Sep 1

Subsystems (3)
lore
Share & tools
lore

Ian Luites

author
#0 lore raw

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

The Asus ROG Zephyrus Duo GX651AX exposes a Realtek RT722 device in ACPI which does not exist in the physical hardware. The device remains unattached while the CS42L43 and both CS35L56 devices attach successfully.

This confuses the function topology machine driver into creating duplicate DAI links named SDW3-Playback-SimpleJack, and the sof_sdw probe fails with error -12. Add a model-specific quirk to remove the ghost RT722 device.

Fixes 45cf24da0a10 ("ASoC: Intel: soc-acpi-intel-ptl-match: Remove unnecessary cs42l43 match")
Cc <[email protected]> # 7.2.x
Assisted-by LLM
---
 drivers/soundwire/dmi-quirks.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/soundwire/dmi-quirks.c +7 -0
index 768255dd12..62fa64b224 100644
@@ -200,6 +200,13 @@ static const struct dmi_system_id adr_remap_quirk_table[] = {
 		},
 		.driver_data = (void *)ghost_realtek,
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUS"),
+			DMI_MATCH(DMI_BOARD_NAME, "GX651AX"),
+		},
+		.driver_data = (void *)ghost_realtek,
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "ASUS"),
Signature · 1 line
2.55.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Ian Luites

The Asus ROG Zephyrus Duo GX651AX exposes a Realtek RT722 device in ACPI which does not exist in the physical hardware. The device remains unattached while the CS42L43 and both CS35L56 devices attach successfully.

This confuses the function topology machine driver into creating duplicate DAI links named SDW3-Playback-SimpleJack, and the sof_sdw probe fails with error -12. Add a model-specific quirk to remove the ghost RT722 device.

Quoted 5 lines
Fixes 45cf24da0a10 ("ASoC: Intel: soc-acpi-intel-ptl-match: Remove unnecessary cs42l43 match")
Cc <[email protected]> # 7.2.x
Assisted-by LLM

---

Thanks,
Charles

maintainer Applied
#2 lore raw
In reply to Ian Luites
Quoted 11 lines · Ian Luites

The Asus ROG Zephyrus Duo GX651AX exposes a Realtek RT722 device in ACPI which does not exist in the physical hardware. The device remains unattached while the CS42L43 and both CS35L56 devices attach successfully.

This confuses the function topology machine driver into creating duplicate DAI links named SDW3-Playback-SimpleJack, and the sof_sdw probe fails with error -12. Add a model-specific quirk to remove the ghost RT722 device.

[...]

Applied, thanks!

[1/1] soundwire: dmi-quirks: Disable ghost Realtek on Asus GX651AX

      commit: 6d49beec658f61801e79019fd73691b17252dee3

Best regards,

Signature · 1 line
~Vinod