aboutsummaryrefslogtreecommitdiff
path: root/drivers/target/target_core_rd.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-05-09 11:58:42 +0530
committerGary S. Robertson <gary.robertson@linaro.org>2014-06-18 09:09:20 -0500
commitddc71f908dc9efd947d3a6934000c5b0b8ff8965 (patch)
tree8f0b19a52ff6cc7fcf0190cafafd9ea01c70a52b /drivers/target/target_core_rd.c
parentdc4020f7356451e066d1040270ca3233e605376e (diff)
tick: SHUTDOWN event-dev if no events are required for KTIME_MAX
When expires is set to KTIME_MAX in tick_program_event(), we are sure that there are no events enqueued for a very long time and so there is no point keeping event device running. We will get interrupted without any work to do many a times, for example when timer's counter overflows. So, its better to SHUTDOWN the event device then and restart it ones we get a request for next event. For implementing this a new field 'last_mode' is added to 'struct clock_event_device' to keep track of last mode used. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/target/target_core_rd.c')
0 files changed, 0 insertions, 0 deletions