[alsa-devel] [PATCH 2/2] ASoC: Add headset jack detection for SDP3430 machine driver
Mark Brown
broonie at sirena.org.uk
Fri Mar 6 12:01:19 CET 2009
On Thu, Mar 05, 2009 at 11:32:31AM -0600, Lopez Cruz, Misael wrote:
> Add headset jack detection for SDP3430 boards using SoC jack
> reporting interface. Headset detection on SDP3430 board is
> achieved through TWL4030 GPIO_2 pin.
Applied, thanks. One comment:
> +/* Headset jack detection gpios */
> +static struct snd_soc_jack_gpio hs_jack_gpios[] = {
> + {
> + .gpio = (OMAP_MAX_GPIO_LINES + 2),
It feels like there should be a nicer way of specifying the GPIO
number?
More information about the Alsa-devel
mailing list