---
name: "snd_soc_jack_report"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_soc_jack_report"
---

# snd\_soc\_jack\_report(9)

Report the current status for a jack

## NAME

snd\_soc\_jack\_report - Report the current status for a jack

## SYNOPSIS

**void snd\_soc\_jack\_report(struct snd\_soc\_jack \*** *jack***, int** *status***, int** *mask***);**

## 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.

## DESCRIPTION

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).

## COPYRIGHT
