[alsa-devel] [PATCH 2/2] ASoC: jack: Add support for GPIO descriptor defined jack pins

Mark Brown broonie at kernel.org
Mon May 26 16:27:15 CEST 2014


On Mon, May 26, 2014 at 02:34:37PM +0300, Jarkko Nikula wrote:
> Allow jack GPIO pins be defined also using GPIO descriptor-based interface
> in addition to legacy GPIO numbers. This is done by adding two new fields to
> struct snd_soc_jack_gpio: idx and gpiod_dev.

Applied, thanks.  It's worth pointing out that the existing name field
is used to supply the connection ID for the gpiod API so we don't *only*
support index based lookups.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140526/a8314e96/attachment.sig>


More information about the Alsa-devel mailing list