From: Mark Brown Date: Tue, 26 Mar 2024 14:11:34 +0000 (+0000) Subject: Add support for jack detection to codec present in X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=35c8c82fa08e0cc66c4777ff07a2f1c9200fdae9;p=linux.git Add support for jack detection to codec present in Merge series from Ondřej Jirman : 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. --- 35c8c82fa08e0cc66c4777ff07a2f1c9200fdae9