Add support for jack detection to codec present in
authorMark Brown <broonie@kernel.org>
Tue, 26 Mar 2024 14:11:34 +0000 (14:11 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 26 Mar 2024 14:11:34 +0000 (14:11 +0000)
Merge series from OndÅ™ej Jirman <megi@xff.cz>:

This series adds support for jack detection to this codec. I used
and tested this on Pinephone. It works quite nicely. I tested it
against Android headset mic button resistor specification.

The patches are a rewritten and debugged version of the original
ones from Arnaud Ferraris and Samuel Holland, improved to better
handle headset button presses and with more robust plug-in/out
event debouncing, and to use set_jack API instead of sniffing
the sound card widget names, to detect the type of jack connector.


Trivial merge