snd_soc_dapm_get_pin_status(9) get audio pin status

SYNOPSIS

int snd_soc_dapm_get_pin_status(struct snd_soc_dapm_context * dapm, const char * pin);

ARGUMENTS

dapm

DAPM context

pin

audio signal pin endpoint (or start point)

DESCRIPTION

Get audio pin status - connected or disconnected.

Returns 1 for connected otherwise 0.

COPYRIGHT