aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
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 /drivers/clocksource
parent8874c5e3b92fc23af4fd4da8830f7d4de41d03a0 (diff)
downloadkernel_goldelico_gta04-74adcbffa8f4d9d39d72d20d80ee62be279ebf44.zip
kernel_goldelico_gta04-74adcbffa8f4d9d39d72d20d80ee62be279ebf44.tar.gz
kernel_goldelico_gta04-74adcbffa8f4d9d39d72d20d80ee62be279ebf44.tar.bz2
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>
Diffstat (limited to 'drivers/clocksource')
-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 7d2c2c5..1b74bea 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,