[alsa-devel] [PATCH 2/3] ASoC: mfld_machine: Add support for jack detection

Koul, Vinod vinod.koul at intel.com
Wed Feb 9 15:53:30 CET 2011


> > The GPIOs in this chip can be programmed using a codec
> > register read/write. Anyone can use the soc_read/write or
> > scu_ipc_read/writes to program the GPIO.
> 
> This is the same as any other CODEC with GPIOs.
> 
> > Would putting one more wrapper over these APIs make it look better?
> 
> Yes, it means that users can just use standard Linux APIs to control the
> GPIOs instead of having to learn about the CODEC register map.
Okay, agreed. I will add the gpiolib support here
(would add that as separate patch)

~Vinod


More information about the Alsa-devel mailing list