* [PATCH 0/2] soundwire: dmi-quirks: Disable ghost devices
@ 2026-09-28 10:56 Bard Liao
2026-09-28 10:56 ` [PATCH 1/2] soundwire: dmi-quirks: Disable ghost Realtek on Lenovo Yoga 7 Pro Bard Liao
` (2 more replies)
0 siblings, 3 replies; 5+ 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
Disable ghost devices on Lenovo Yoga 7 Pro and Lenovo Yoga Slim 7.
The first patch is a RESEND patch and the other one is a new patch.
Bard Liao (2):
soundwire: dmi-quirks: Disable ghost Realtek on Lenovo Yoga 7 Pro
soundwire: dmi-quirks: Disable ghost rt711 on Lenovo Yoga Slim 7
drivers/soundwire/dmi-quirks.c | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
--
2.43.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [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
2026-10-03 8:21 ` [PATCH 0/2] soundwire: dmi-quirks: Disable ghost devices Vinod Koul
2 siblings, 0 replies; 5+ 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 related [flat|nested] 5+ 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
2026-10-03 8:21 ` [PATCH 0/2] soundwire: dmi-quirks: Disable ghost devices Vinod Koul
2 siblings, 1 reply; 5+ 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 related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] soundwire: dmi-quirks: Disable ghost rt711 on Lenovo Yoga Slim 7
2026-09-28 10:56 ` [PATCH 2/2] soundwire: dmi-quirks: Disable ghost rt711 on Lenovo Yoga Slim 7 Bard Liao
@ 2026-09-28 13:04 ` Charles Keepax
0 siblings, 0 replies; 5+ messages in thread
From: Charles Keepax @ 2026-09-28 13:04 UTC (permalink / raw)
To: Bard Liao
Cc: linux-sound, vkoul, vinod.koul, linux-kernel,
pierre-louis.bossart, peter.ujfalusi, bard.liao
On Mon, Sep 28, 2026 at 06:56:40PM +0800, Bard Liao wrote:
> 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>
> ---
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Thanks,
Charles
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/2] soundwire: dmi-quirks: Disable ghost devices
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 ` [PATCH 2/2] soundwire: dmi-quirks: Disable ghost rt711 on Lenovo Yoga Slim 7 Bard Liao
@ 2026-10-03 8:21 ` Vinod Koul
2 siblings, 0 replies; 5+ messages in thread
From: Vinod Koul @ 2026-10-03 8:21 UTC (permalink / raw)
To: linux-sound, Bard Liao
Cc: vinod.koul, linux-kernel, pierre-louis.bossart, peter.ujfalusi,
bard.liao
On Mon, 28 Sep 2026 18:56:38 +0800, Bard Liao wrote:
> Disable ghost devices on Lenovo Yoga 7 Pro and Lenovo Yoga Slim 7.
> The first patch is a RESEND patch and the other one is a new patch.
>
> Bard Liao (2):
> soundwire: dmi-quirks: Disable ghost Realtek on Lenovo Yoga 7 Pro
> soundwire: dmi-quirks: Disable ghost rt711 on Lenovo Yoga Slim 7
>
> [...]
Applied, thanks!
[1/2] soundwire: dmi-quirks: Disable ghost Realtek on Lenovo Yoga 7 Pro
commit: 21f4552fbaafa75628ed7bf7693303920da0545c
[2/2] soundwire: dmi-quirks: Disable ghost rt711 on Lenovo Yoga Slim 7
commit: e0cb731652a1bebf962086f17d1b7c9d060cb7d6
Best regards,
--
~Vinod
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-10-03 8:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 2/2] soundwire: dmi-quirks: Disable ghost rt711 on Lenovo Yoga Slim 7 Bard Liao
2026-09-28 13:04 ` Charles Keepax
2026-10-03 8:21 ` [PATCH 0/2] soundwire: dmi-quirks: Disable ghost devices Vinod Koul
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.