[alsa-devel] [PATCH] asoc tlv320aic3x: add GPIO support

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Apr 21 16:51:09 CEST 2008


On Mon, Apr 21, 2008 at 04:38:58PM +0200, pHilipp Zabel wrote:

> This is interesting, what is the generic jack detect feature supposed
> to do exactly? I ask because I just export the jack detect interrupt
> to userspace via input subsystem (SW_HEADPHONE_INSERT). Will it
> replace this switch in functionality?

As far as user space is concerned I'd expect it to turn out as pretty
much exactly that, wrapping it up so that sound drivers don't need to
reproduce the code to register an input device and so on.  Devices that
can detect the type of inserted will need some additional switch types
adding.


More information about the Alsa-devel mailing list