OSDN Git Service

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)
committerIliyan Malchev <malchev@google.com>
Mon, 23 May 2011 22:43:34 +0000 (15:43 -0700)
commit80a56ea193e92bd0c9081fe5f12027b00ad88568
treeb0ab50802a019206b0117aa0be8f68c7da24e3c4
parent27d5393c014ec2568af0e5446c1cfac28d5eda04
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