ARM: nomadik: add dynamic irq flag to the timer
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Sat, 2 Mar 2013 10:10:12 +0000 (11:10 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 21 Aug 2013 22:18:50 +0000 (00:18 +0200)
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>
drivers/clocksource/nomadik-mtu.c

index 7d2c2c56f73c3044d5d4a6106975ab857ee076fa..1b74bea12385a20acd695f2d422665be1dfd90f3 100644 (file)
@@ -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,