28 Dec
2020
28 Dec
'20
1:21 p.m.
On Sun, Dec 27, 2020 at 10:12:19PM +0100, Hans de Goede wrote:
The Linux Arizona driver uses the MFD framework to create several sub-devices for the Arizona codec and then uses a driver per function.
The jack-detect support for the Arizona codec is handled by the extcon-arizona driver. This driver exports info about the jack state to userspace through the standard extcon sysfs class interface.
But standard Linux userspace does not monitor/use the extcon sysfs interface for jack-detection.
This seems like the wrong layer to fix this problem at, this issue will apply to all extcon devices that can detect audio.