[alsa-devel] [PATCH] ASoC: Allow use sleeping gpio in soc-jack

Liam Girdwood lrg at slimlogic.co.uk
Fri Feb 11 00:03:52 CET 2011


On Thu, 2011-02-10 at 17:22 +0200, Jarkko Nikula wrote:
> It is safe to use sleeping gpio in snd_soc_jack_gpio_detect as it is not
> called from interrupt context. This avoids WARN_ON from __gpio_get_value
> if sleeping gpio is registered for jack.
> 
> Signed-off-by: Jarkko Nikula <jhnikula at gmail.com>
> ---

Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk



More information about the Alsa-devel mailing list