snd_soc_jack_add_gpios
Prev | Jack Abstraction Layer API | Next

## Name

snd_soc_jack_add_gpios — Associate GPIO pins with an ASoC jack

## Synopsis

`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

## Description

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

Prev | Up | Next
snd_soc_jack_notifier_unregister | Home | snd_soc_jack_add_gpiods