[alsa-devel] [PATCH] ASoC: Use pm_wakeup_event() in WM8962 jack detection

Liam Girdwood lrg at slimlogic.co.uk
Wed Nov 3 20:25:41 CET 2010


On Wed, 2010-11-03 at 14:50 -0400, Mark Brown wrote:
> Ensure that the system does not suspend while we process a WM8962 jack
> event by using pm_wakeup_event() to block the suspend while we're waiting
> for the jack to settle. Use a slightly longer timeout than the jack waits
> to allow for other stuff to take over and delays in scheduling.
> 
> Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.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