23 Oct
2023
23 Oct
'23
8:45 p.m.
On 10/21/23 16:15, Hans de Goede wrote:
The Lenovo Yoga Tab 3 Pro YT3-X90 x86 tablet, which ships with Android with a custom kernel as factory OS, does not list the used WM5102 codec inside its DSDT.
Workaround this with a new snd_soc_acpi_intel_baytrail_machines[] entry which matches on the SST id instead of the codec id like nocodec does, combined with using a machine_quirk callback which returns NULL on other machines to skip the new entry on other machines.
The work-around sounds fine, but out of curiosity what causes the codec driver to probe if there's no ACPI HID?
Really wondering how we avoid the -517 error code with the deferred probe never completing because the codec driver never probed and registered the needed components?