diff options
| -rw-r--r-- | drivers/clocksource/timer-imx-gpt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clocksource/timer-imx-gpt.c b/drivers/clocksource/timer-imx-gpt.c index 839aba92fc39..99ec96769dda 100644 --- a/drivers/clocksource/timer-imx-gpt.c +++ b/drivers/clocksource/timer-imx-gpt.c | |||
| @@ -305,13 +305,14 @@ static int __init mxc_clockevent_init(struct imx_timer *imxtm) | |||
| 305 | struct irqaction *act = &imxtm->act; | 305 | struct irqaction *act = &imxtm->act; |
| 306 | 306 | ||
| 307 | ced->name = "mxc_timer1"; | 307 | ced->name = "mxc_timer1"; |
| 308 | ced->features = CLOCK_EVT_FEAT_ONESHOT; | 308 | ced->features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_DYNIRQ; |
| 309 | ced->set_state_shutdown = mxc_shutdown; | 309 | ced->set_state_shutdown = mxc_shutdown; |
| 310 | ced->set_state_oneshot = mxc_set_oneshot; | 310 | ced->set_state_oneshot = mxc_set_oneshot; |
| 311 | ced->tick_resume = mxc_shutdown; | 311 | ced->tick_resume = mxc_shutdown; |
| 312 | ced->set_next_event = imxtm->gpt->set_next_event; | 312 | ced->set_next_event = imxtm->gpt->set_next_event; |
| 313 | ced->rating = 200; | 313 | ced->rating = 200; |
| 314 | ced->cpumask = cpumask_of(0); | 314 | ced->cpumask = cpumask_of(0); |
| 315 | ced->irq = imxtm->irq; | ||
| 315 | clockevents_config_and_register(ced, clk_get_rate(imxtm->clk_per), | 316 | clockevents_config_and_register(ced, clk_get_rate(imxtm->clk_per), |
| 316 | 0xff, 0xfffffffe); | 317 | 0xff, 0xfffffffe); |
| 317 | 318 | ||
