HACK: PM / Sleep: Abort suspend if event is in progress
authorPrashant Gaikwad <pgaikwad@nvidia.com>
Thu, 17 May 2012 10:26:25 +0000 (15:26 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 21 May 2012 08:34:20 +0000 (01:34 -0700)
commit9f991bc15b70e16e56dd2ab455c6456fcd470db8
treea3da01a536c7c70c53e79cd447463db075324331
parentcbb367a2bc93d6b8cc407bcc76fd29560e4d1858
HACK: PM / Sleep: Abort suspend if event is in progress

Abort suspend if event is in progress even though check
is not enabled. This fixes suspend abort if wake_lock
is acquired.

Bug 985999

Change-Id: Ib319bcc07b9021d8497149c039bc6b9d2f756f8a
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/103073
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
drivers/base/power/wakeup.c