* [PATCH 1/2] soundwire: dmi-quirks: Disable ghost Realtek on Lenovo Yoga 7 Pro
2026-09-28 10:56 [PATCH 0/2] soundwire: dmi-quirks: Disable ghost devices Bard Liao
@ 2026-09-28 10:56 ` Bard Liao
2026-09-28 10:56 ` [PATCH 2/2] soundwire: dmi-quirks: Disable ghost rt711 on Lenovo Yoga Slim 7 Bard Liao
1 sibling, 0 replies; 4+ messages in thread
From: Bard Liao @ 2026-09-28 10:56 UTC (permalink / raw)
To: linux-sound, vkoul
Cc: vinod.koul, linux-kernel, pierre-louis.bossart, peter.ujfalusi,
bard.liao
Another Lenovo module that has a Realtek device in the ACPI that
doesn't exist in the physical hardware.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
---
drivers/soundwire/dmi-quirks.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/soundwire/dmi-quirks.c b/drivers/soundwire/dmi-quirks.c
index 72e59b50b685..0b4f5cec8cfd 100644
--- a/drivers/soundwire/dmi-quirks.c
+++ b/drivers/soundwire/dmi-quirks.c
@@ -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, "83SN"),
+ },
+ .driver_data = (void *)ghost_realtek,
+ },
{
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
--
2.43.0
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH 2/2] soundwire: dmi-quirks: Disable ghost rt711 on Lenovo Yoga Slim 7
2026-09-28 10:56 [PATCH 0/2] soundwire: dmi-quirks: Disable ghost devices Bard Liao
2026-09-28 10:56 ` [PATCH 1/2] soundwire: dmi-quirks: Disable ghost Realtek on Lenovo Yoga 7 Pro Bard Liao
@ 2026-09-28 10:56 ` Bard Liao
2026-09-28 13:04 ` Charles Keepax
1 sibling, 1 reply; 4+ messages in thread
From: Bard Liao @ 2026-09-28 10:56 UTC (permalink / raw)
To: linux-sound, vkoul
Cc: vinod.koul, linux-kernel, pierre-louis.bossart, peter.ujfalusi,
bard.liao
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@linux.intel.com>
---
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
^ permalink raw reply [flat|nested] 4+ messages in thread