PM: Abort suspend if wake_lock is acquired
authorPrashant Gaikwad <pgaikwad@nvidia.com>
Thu, 17 May 2012 10:42:00 +0000 (15:42 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 21 May 2012 08:34:43 +0000 (01:34 -0700)
commitd97f537d271166209261ff364b64b35f0ca98ced
treeafa884abf1592a4ecfbe03d6003b1035331ad6a8
parent9f991bc15b70e16e56dd2ab455c6456fcd470db8
PM: Abort suspend if wake_lock is acquired

Abort suspend if wake_lock is acquired. Try again on
on wake_unlock if previously suspend state was
requested.

Bug 985999

Change-Id: I83056ce17b4a01fd123203cdd3f6ef3d67bc30e5
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/103074
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
kernel/power/earlysuspend.c
kernel/power/power.h
kernel/power/userwakelock.c