Revert "clocksource: rockchip: add dynamic irq flag to the timer"
authorHuang, Tao <huangtao@rock-chips.com>
Mon, 6 Jun 2016 09:15:39 +0000 (17:15 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 22 Jun 2016 11:52:31 +0000 (19:52 +0800)
This reverts commit fb50410985e6f6874dcfe6e3f12b4bccd5d0335b.

Change-Id: I1d04b207ae34a15688c1dc77f08525a45541e39e
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
drivers/clocksource/rockchip_timer.c

index f3dfb1a1a61079d655ec06eb751f3dba636ee766..b93fed6533c6f00683f91f45e36e4fdf1e7e0495 100644 (file)
@@ -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);