diff options
author | Colin Cross <ccross@google.com> | 2010-08-21 17:27:02 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2011-06-14 09:09:34 -0700 |
commit | 0c7841ce3e0a90bab630f671992348dafb022558 (patch) | |
tree | a1e95e7106d661813176d7aeb64873bdce265d26 /kernel/power/wakelock.c | |
parent | 5eb6fdc0c710873d2be76db4965f247f484f531a (diff) | |
download | kernel_samsung_crespo-0c7841ce3e0a90bab630f671992348dafb022558.zip kernel_samsung_crespo-0c7841ce3e0a90bab630f671992348dafb022558.tar.gz kernel_samsung_crespo-0c7841ce3e0a90bab630f671992348dafb022558.tar.bz2 |
wakelock: Fix operator precedence bug
Change-Id: I21366ace371d1b8f4684ddbe4ea8d555a926ac21
Signed-off-by: Colin Cross <ccross@google.com>
Diffstat (limited to 'kernel/power/wakelock.c')
-rw-r--r-- | kernel/power/wakelock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/wakelock.c b/kernel/power/wakelock.c index ca48bb8..d3d7fd6 100644 --- a/kernel/power/wakelock.c +++ b/kernel/power/wakelock.c @@ -222,7 +222,7 @@ static void print_active_locks(int type) pr_info("wake lock %s, expired\n", lock->name); } else { pr_info("active wake lock %s\n", lock->name); - if (!debug_mask & DEBUG_EXPIRE) + if (!(debug_mask & DEBUG_EXPIRE)) print_expired = false; } } |