PM: wakelocks: Display wakelocks preventing suspend by default
authorTodd Poynor <toddpoynor@google.com>
Mon, 8 Aug 2011 23:06:54 +0000 (16:06 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:38:59 +0000 (21:38 -0800)
commit87ca07903f6dcc2d306a4bff69d0e49abc8d4b6e
treee23e11f5a38a3bf91e7295ebda768d3838d7148e
parentcc2a67dbcfca983943606a0c57db2853ff5cf616
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