From e0cb731652a1bebf962086f17d1b7c9d060cb7d6 Mon Sep 17 00:00:00 2001 From: Bard Liao Date: Mon, 28 Sep 2026 18:56:40 +0800 Subject: [PATCH] soundwire: dmi-quirks: Disable ghost rt711 on Lenovo Yoga Slim 7 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 Reviewed-by: Charles Keepax Link: https://patch.msgid.link/20260928105640.3014318-3-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul --- 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 d25a86c097a1..e6ae75bcf185 100644 --- a/drivers/soundwire/dmi-quirks.c +++ b/drivers/soundwire/dmi-quirks.c @@ -130,6 +130,15 @@ static const struct adr_remap microsoft_sp11_intel[] = { {} }; +static const struct adr_remap ghost_rt711[] = { + /* rt711 on link0 */ + { + 0x000030025d071101ull, + 0x0000000000000000ull + }, + {} +}; + static const struct dmi_system_id adr_remap_quirk_table[] = { /* TGL devices */ { @@ -277,6 +286,13 @@ static const struct dmi_system_id adr_remap_quirk_table[] = { }, .driver_data = (void *)microsoft_sp11_intel, }, + { + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_NAME, "83R0"), + }, + .driver_data = (void *)ghost_rt711, + }, {} };