aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/wakelock.c
diff options
context:
space:
mode:
authorColin Cross <ccross@google.com>2010-08-21 17:27:02 -0700
committerColin Cross <ccross@android.com>2011-06-14 09:09:34 -0700
commit0c7841ce3e0a90bab630f671992348dafb022558 (patch)
treea1e95e7106d661813176d7aeb64873bdce265d26 /kernel/power/wakelock.c
parent5eb6fdc0c710873d2be76db4965f247f484f531a (diff)
downloadkernel_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.c2
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;
}
}