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

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Feb 9 15:39:58 CET 2011


On Wed, Feb 09, 2011 at 08:08:39PM +0530, Koul, Vinod wrote:

> 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.


More information about the Alsa-devel mailing list