summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorColin Cross <ccross@google.com>2010-08-21 17:27:02 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:38:20 -0800
commitb19e9d33c93d717e558367162712a4a2edd49753 (patch)
tree47a1ce32dcb4ce1dfeda3d6d67756afea4bc7d30 /kernel
parent9784ed78c78fdd5101d6a2f25dfab64345f32f55 (diff)
wakelock: Fix operator precedence bug
Change-Id: I21366ace371d1b8f4684ddbe4ea8d555a926ac21 Signed-off-by: Colin Cross <ccross@google.com>
Diffstat (limited to 'kernel')
-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 ca48bb8d316b..d3d7fd682c00 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;
}
}