[alsa-devel] [PATCH] ASoC: jack: export gpio detect

Mark Brown broonie at kernel.org
Fri Apr 4 00:07:15 CEST 2014

On Thu, Apr 03, 2014 at 03:03:55PM -0700, cfreeman at nvidia.com wrote:
> From: Christopher Freeman <cfreeman at nvidia.com>
> Export the gpio detect function so machine drivers
> may call it.  Interrupts for the jack may be disabled
> during sleep, so this allows a machine driver to have
> the jack status updated during resume.

It seems better to have explicit callbacks for this doesn't it, ideally
ones that get triggered by the core without the machine driver having to
do anything?  This is a common need so having to open code it would be a
bit depressing.
-------------- 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/20140403/e47f9a53/attachment.sig>

More information about the Alsa-devel mailing list