diff options
author | Huang, Tao <huangtao@rock-chips.com> | 2016-06-06 17:15:39 +0800 |
---|---|---|
committer | Huang, Tao <huangtao@rock-chips.com> | 2016-06-22 19:52:31 +0800 |
commit | 7a73ecd2467442ff08977fb51423650216976904 (patch) | |
tree | 2a04b6faa61741374607a44d8473fddafd0461fe /drivers/clocksource | |
parent | 5fdc2552c5d41639e19929c8f7fdda23ba3d8f53 (diff) |
Revert "clocksource: rockchip: add dynamic irq flag to the timer"
This reverts commit fb50410985e6f6874dcfe6e3f12b4bccd5d0335b.
Change-Id: I1d04b207ae34a15688c1dc77f08525a45541e39e
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r-- | drivers/clocksource/rockchip_timer.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/clocksource/rockchip_timer.c b/drivers/clocksource/rockchip_timer.c index f3dfb1a1a610..b93fed6533c6 100644 --- a/drivers/clocksource/rockchip_timer.c +++ b/drivers/clocksource/rockchip_timer.c @@ -150,13 +150,12 @@ static void __init rk_timer_init(struct device_node *np) } ce->name = TIMER_NAME; - ce->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT | - CLOCK_EVT_FEAT_DYNIRQ; + ce->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT; ce->set_next_event = rk_timer_set_next_event; ce->set_state_shutdown = rk_timer_shutdown; ce->set_state_periodic = rk_timer_set_periodic; ce->irq = irq; - ce->cpumask = cpu_all_mask; + ce->cpumask = cpumask_of(0); ce->rating = 250; ret = request_irq(irq, rk_timer_interrupt, IRQF_TIMER, TIMER_NAME, ce); |