snd_soc_jack_add_gpios(9)

snd_soc_jack_add_gpios9

Associate gpio pins with an asoc jack

Usage

int snd_soc_jack_add_gpios(struct snd_soc_jack * jack, int count, struct snd_soc_jack_gpio * gpios);

Arguments

jack

ASoC jack

count

number of pins

gpios

array of gpio pins

Overview

This function will request gpio, set data direction and request irq for each gpio in the array.

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