[alsa-devel] How to handle jack detection through gpios