mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 06:25:52 +02:00
Revert "clocksource: rockchip: remove unnecessary clear irq before request_irq"
This reverts commit c380160aea.
Change-Id: I435f0989976627e9892ff2bdba91cf41b8b77ef9
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
This commit is contained in:
parent
7a73ecd246
commit
142baf7d61
|
|
@ -158,6 +158,9 @@ static void __init rk_timer_init(struct device_node *np)
|
|||
ce->cpumask = cpumask_of(0);
|
||||
ce->rating = 250;
|
||||
|
||||
rk_timer_interrupt_clear(ce);
|
||||
rk_timer_disable(ce);
|
||||
|
||||
ret = request_irq(irq, rk_timer_interrupt, IRQF_TIMER, TIMER_NAME, ce);
|
||||
if (ret) {
|
||||
pr_err("Failed to initialize '%s': %d\n", TIMER_NAME, ret);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user