From: Mark Brown Date: Wed, 3 Nov 2010 18:45:07 +0000 (-0400) Subject: ASoC: Use pm_wakeup_event() in WM8962 jack detection X-Git-Tag: v2.6.38-rc1~236^2^2~210 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11e16eb365f4f6979cfcb2a2d379338b383590d9;p=pandora-kernel.git ASoC: Use pm_wakeup_event() in WM8962 jack detection 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 Acked-by: Liam Girdwood --- Reading git-diff-tree failed