[alsa-devel] Usage of jack_status_check in ASoC GPIO

Omair Mohammed Abdullah omair.m.abdullah at linux.intel.com
Fri Feb 17 07:51:53 CET 2012

If I need to call a codec driver function whenever Headset status 
changes (to set various registers, turn off micbias etc.). In such a 
case, can the jack_status_check callback in snd_soc_jack_gpio structure 
be used? If I use it, I would need to modify the callback to pass 
certain parameters (codec pointer, status). Is this the intended use of 
the callback?

More information about the Alsa-devel mailing list