projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8132ed1
)
ARM: ux500: Don't attempt to enable the Nomadik System Timer twice
author
Lee Jones
<lee.jones@linaro.org>
Wed, 18 Sep 2013 07:55:19 +0000
(08:55 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Thu, 26 Sep 2013 09:05:18 +0000
(11:05 +0200)
When booting with DT enabled we already call clocksource_of_init(),
which in turn calls the OF version of nmdk_timer_init().
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/timer.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-ux500/timer.c
b/arch/arm/mach-ux500/timer.c
index b6bd0efcbe64465bed83d2814e01f57483a03c92..05a4ff78b3bd9e73deaf4c0e814f79cdae8e971e 100644
(file)
--- a/
arch/arm/mach-ux500/timer.c
+++ b/
arch/arm/mach-ux500/timer.c
@@
-97,8
+97,8
@@
dt_fail:
* sched_clock with higher rating then MTU since is always-on.
*
*/
-
- nmdk_timer_init(mtu_timer_base, IRQ_MTU0);
+ if (!of_have_populated_dt())
+
nmdk_timer_init(mtu_timer_base, IRQ_MTU0);
clksrc_dbx500_prcmu_init(prcmu_timer_base);
ux500_twd_init();
}