mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
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 <yung-chuan.liao@linux.intel.com> Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://patch.msgid.link/20260928105640.3014318-3-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
21f4552fba
commit
e0cb731652
|
|
@ -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,
|
||||
},
|
||||
{}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user