ASoC: jack - add_gpiods accepts filled descriptors
authorDylan Reid <dgreid@chromium.org>
Fri, 22 May 2015 22:09:20 +0000 (15:09 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 25 May 2015 12:11:45 +0000 (13:11 +0100)
commite616d2eba6d1ac8f3268cdf5d7b0424072c89a8d
treedd89f17a3a156552a3e58c616b6b1d40f829d010
parent1fb1e0ec9a8ab87985448e8b82b20884a186ec31
ASoC: jack - add_gpiods accepts filled descriptors

Allow for the desc field to be pre-filled when adding gpios to a jack.
This allows drivers to get the gpios and decide if they should be added
to the list or not.  Specifically this will allow the gpio jack driver
to add gpios based on device property specifications.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-jack.c