PM: wakelocks: Display wakelocks preventing suspend by default
authorTodd Poynor <toddpoynor@google.com>
Mon, 8 Aug 2011 23:06:54 +0000 (16:06 -0700)
committerTodd Poynor <toddpoynor@google.com>
Wed, 10 Aug 2011 23:14:56 +0000 (16:14 -0700)
commitca64b0cd3a12d7704f4e98f4f5d51f41eb5047a2
tree62f9b1336ec14d087f19a4cb770b4edf92bcaead
parente65d9fe5564afaca75ae657179446578be73e9ba
PM: wakelocks: Display wakelocks preventing suspend by default

Use DEBUG_WAKEUP flag to show wakelocks that abort suspend, in
addition to showing wakelocks held during system resume.
DEBUG_WAKEUP is enabled by default.

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