summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2013-03-02 11:10:12 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2013-08-22 00:18:50 +0200
commit74adcbffa8f4d9d39d72d20d80ee62be279ebf44 (patch)
treea977975a84395e7a675c7626d5f873720ec7d97e
parent8874c5e3b92fc23af4fd4da8830f7d4de41d03a0 (diff)
downloadblackbird-op-linux-74adcbffa8f4d9d39d72d20d80ee62be279ebf44.tar.gz
blackbird-op-linux-74adcbffa8f4d9d39d72d20d80ee62be279ebf44.zip
ARM: nomadik: add dynamic irq flag to the timer
Add the dynamic irq affinity feature to the timer clock device. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org> Acked-by: Rickard Andersson <rickard.andersson@stericsson.com>
-rw-r--r--drivers/clocksource/nomadik-mtu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clocksource/nomadik-mtu.c b/drivers/clocksource/nomadik-mtu.c
index 7d2c2c56f73c..1b74bea12385 100644
--- a/drivers/clocksource/nomadik-mtu.c
+++ b/drivers/clocksource/nomadik-mtu.c
@@ -165,7 +165,8 @@ static void nmdk_clkevt_resume(struct clock_event_device *cedev)
static struct clock_event_device nmdk_clkevt = {
.name = "mtu_1",
- .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC,
+ .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC |
+ CLOCK_EVT_FEAT_DYNIRQ,
.rating = 200,
.set_mode = nmdk_clkevt_mode,
.set_next_event = nmdk_clkevt_next,
OpenPOWER on IntegriCloud