[PATCH 2/2] soundwire: dmi-quirks: Disable ghost rt711 on Lenovo Yoga Slim 7

From: Bard Liao

Date: Mon Sep 28 2026 - 06:57:10 EST


The device reports both cs42l43 and rt711. But the rt711 codec does not
physically exist. Adding a quirk to disable the ghost device.

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

diff --git a/drivers/soundwire/dmi-quirks.c b/drivers/soundwire/dmi-quirks.c
index 0b4f5cec8cfd..11bd4d2681ab 100644
--- a/drivers/soundwire/dmi-quirks.c
+++ b/drivers/soundwire/dmi-quirks.c
@@ -111,6 +111,15 @@ static const struct adr_remap ghost_realtek[] = {
{}
};

+static const struct adr_remap ghost_rt711[] = {
+ /* rt711 on link0 */
+ {
+ 0x000030025d071101ull,
+ 0x0000000000000000ull
+ },
+ {}
+};
+
static const struct dmi_system_id adr_remap_quirk_table[] = {
/* TGL devices */
{
@@ -249,6 +258,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, "83R0"),
+ },
+ .driver_data = (void *)ghost_rt711,
+ },
{}
};

--
2.43.0