snd_soc_jack_notifier_register (9) - Linux Man Pages
snd_soc_jack_notifier_register: Register a notifier for jack status
snd_soc_jack_notifier_register - Register a notifier for jack status
void snd_soc_jack_notifier_register(struct snd_soc_jack
*jack, struct notifier_block *nb);
- ASoC jack
- Notifier block to register
Register for notification of the current status of the jack. Note that it is not possible to report additional jack events in the callback from the notifier, this is intended to support applications such as enabling electrical detection only when a mechanical detection event has occurred.