projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63d0358
)
clocksource: rockchip: remove unnecessary clear irq before request_irq
author
Huang, Tao
<huangtao@rock-chips.com>
Wed, 18 May 2016 09:28:07 +0000
(17:28 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Thu, 19 May 2016 10:29:58 +0000
(18:29 +0800)
rk_timer_interrupt_clear and rk_timer_disable is unnecessary before
request_irq. Timer should keep disabled before booting Linux.
Change-Id: I6de401ad156d620ac676e80de89ffd0bdaab3a36
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
drivers/clocksource/rockchip_timer.c
patch
|
blob
|
history
diff --git
a/drivers/clocksource/rockchip_timer.c
b/drivers/clocksource/rockchip_timer.c
index b991b288c8032740f4eb0a0a4a30d056fcbb6694..b93fed6533c6f00683f91f45e36e4fdf1e7e0495 100644
(file)
--- a/
drivers/clocksource/rockchip_timer.c
+++ b/
drivers/clocksource/rockchip_timer.c
@@
-158,9
+158,6
@@
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);