table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
| SND_SOC_JACK_ADD_GPI(9) | Miscellaneous Functions | SND_SOC_JACK_ADD_GPI(9) |
NAME¶
snd_soc_jack_add_gpios - Associate GPIO pins with an ASoC jackSYNOPSIS¶
int
snd_soc_jack_add_gpios(struct snd_soc_jack * jack,
int count,
struct snd_soc_jack_gpio * gpios);
ARGUMENTS¶
jackASoC 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.COPYRIGHT¶
| May 2018 | Kernel Hackers Manual 4.9. |