carta
snd_soc_jack_report(9)

snd_soc_jack_report9

Report the current status for a jack

Arguments

jack

the jack

status

a bitmask of enum snd_jack_type values that are currently detected.

mask

a bitmask of enum snd_jack_type values that being reported.

Overview

If configured using snd_soc_jack_add_pins then the associated DAPM pins will be enabled or disabled as appropriate and DAPM synchronised.

Note

This function uses mutexes and should be called from a context which can sleep (such as a workqueue).

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.