diff options
author | Jon Medhurst <tixy@linaro.org> | 2015-05-08 12:04:18 +0100 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2015-05-08 12:04:18 +0100 |
commit | b1d07441d04e4116638a1fc162cb7c6e55b2915a (patch) | |
tree | 21e00496086efa1b6627715e9d6b12f833be9c34 /drivers/gator/gator_trace_power.c | |
parent | 96b56157b38cffced997ffa71fdd4bf71024fc67 (diff) |
gator: Version 5.21.1
Signed-off-by: Drew Richardson <drew.richardson@arm.com>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'drivers/gator/gator_trace_power.c')
-rw-r--r-- | drivers/gator/gator_trace_power.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/gator/gator_trace_power.c b/drivers/gator/gator_trace_power.c index 46e04b29a187..aaa8f8636c83 100644 --- a/drivers/gator/gator_trace_power.c +++ b/drivers/gator/gator_trace_power.c @@ -1,5 +1,5 @@ /** - * Copyright (C) ARM Limited 2011-2014. All rights reserved. + * Copyright (C) ARM Limited 2011-2015. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -80,13 +80,7 @@ GATOR_DEFINE_PROBE(cpu_idle, TP_PROTO(unsigned int state, unsigned int cpu)) return; if (implements_wfi()) { - if (state == PWR_EVENT_EXIT) { - /* transition from wfi to non-wfi */ - marshal_idle(cpu, MESSAGE_IDLE_EXIT); - } else { - /* transition from non-wfi to wfi */ - marshal_idle(cpu, MESSAGE_IDLE_ENTER); - } + marshal_idle(cpu, state); } per_cpu(idle_prev_state, cpu) = state; |