carta
snd_soc_card_jack_new(9)

snd_soc_card_jack_new9

Create a new jack

Arguments

card

ASoC card

id

an identifying string for this jack

type

a bitmask of enum snd_jack_type values that can be detected by this jack

jack

structure to use for the jack

pins

Array of jack pins to be added to the jack or NULL

num_pins

Number of elements in the pins array

Overview

Creates a new jack object.

Returns zero if successful, or a negative error code on failure. On success jack will be initialised.

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