snd_soc_jack_add_gpios — Associate GPIO pins with an ASoC jack
int snd_soc_jack_add_gpios (
)
jack
ASoC jack
count
number of pins
gpios
array of gpio pins
This function will request gpio, set data direction and request irq for each gpio in the array.