Files
android_kernel_xiaomi_sm8450/include/sound
Lopez Cruz, Misael ec67624d33 ASoC: Add GPIO support for jack reporting interface
Add GPIO support to jack reporting framework in ASoC using gpiolib calls.
The gpio support exports two new functions: snd_soc_jack_add_gpios and
snd_soc_jack_free_gpios.

Client drivers using gpio feature must pass an array of jack_gpio pins
belonging to a specific jack to the snd_soc_jack_add_gpios function. The
framework will request the gpios, set the data direction and request irq.
The framework will update power status of related jack_pins when an event on
the gpio pins comes according to the reporting bits defined for each gpio.

All gpio resources allocated when adding jack_gpio pins can be released
using snd_soc_jack_free_gpios function.

Signed-off-by: Misael Lopez Cruz <x0052729@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-03-04 14:47:38 +00:00
..
2009-01-12 14:56:41 +01:00
2008-01-31 17:29:48 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2008-01-31 17:29:13 +01:00
2007-10-16 15:58:10 +02:00
2006-03-22 10:24:57 +01:00
2008-11-17 11:45:39 +00:00
2008-04-29 19:01:56 +02:00
2006-01-03 12:18:06 +01:00
2008-08-25 09:57:38 +02:00
2007-02-09 09:01:14 +01:00
2008-08-25 09:57:48 +02:00
2005-04-16 15:20:36 -07:00
2008-12-09 10:49:26 +00:00
2005-04-16 15:20:36 -07:00
2008-11-17 11:45:39 +00:00
2008-05-27 15:56:20 +02:00
2008-11-12 11:13:29 +01:00