power: wakelock: Print active wakelocks when has_wake_lock() is called
authorMike Chan <mike@android.com>
Tue, 16 Feb 2010 22:18:55 +0000 (14:18 -0800)
committerMike Chan <mike@android.com>
Sat, 20 Feb 2010 01:03:09 +0000 (17:03 -0800)
commit7175b7585f84bb8e7de5f6a1e694c3275377cecb
tree79e49d72f1a9214a8d98ea135781c63e60090528
parent980bfabc06ae4d0db1092784c40657f2173edefe
power: wakelock: Print active wakelocks when has_wake_lock() is called

When DEBUG_SUSPEND is enabled print active wakelocks when we check
if there are any active wakelocks.

In print_active_locks(), print expired wakelocks if DEBUG_EXPIRE is enabled

Change-Id: Ib1cb795555e71ff23143a2bac7c8a58cbce16547
Signed-off-by: Mike Chan <mike@android.com>
kernel/power/wakelock.c