PM: wakelocks: Don't report wake up wakelock if suspend aborted
authorTodd Poynor <toddpoynor@google.com>
Tue, 9 Aug 2011 00:26:49 +0000 (17:26 -0700)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:22:35 +0000 (12:22 -0800)
commit5ad092fa15232d31d0af69dfd36b77ad68430108
tree3b907995ec902a10d7cb3620721348278ee4140b
parent927bd803ec8cc1a76dc0b18ab6a9e22cd1995ee6
PM: wakelocks: Don't report wake up wakelock if suspend aborted

If the wakelock driver aborts suspend due to an already-held
wakelock, don't report the next wakelock held as the "wake up
wakelock".

Change-Id: I582ffbb87a3c361739a77d839a0c62921cff11a6
Signed-off-by: Todd Poynor <toddpoynor@google.com>
kernel/power/wakelock.c