summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-11-28 18:53:19 +0100
committerOlof Johansson <olof@lixom.net>2018-11-30 15:40:01 -0800
commite78ebdcb6ea83a891e6940381190040ae299e82d (patch)
tree61704e3b90f92e0aa1ac5f73e63ca241bad39516 /arch/arm/mach-mmp
parent7f17e390036ceb25f2daaba63ced02901396e9fd (diff)
downloadlinux-e78ebdcb6ea83a891e6940381190040ae299e82d.tar.gz
linux-e78ebdcb6ea83a891e6940381190040ae299e82d.tar.bz2
linux-e78ebdcb6ea83a891e6940381190040ae299e82d.zip
ARM: mmp2: initialize clocks before the timer
The timer shall enable its clock. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-mmp')
-rw-r--r--arch/arm/mach-mmp/mmp2-dt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mmp/mmp2-dt.c b/arch/arm/mach-mmp/mmp2-dt.c
index 0341359b24a4..50c5e8b5be3d 100644
--- a/arch/arm/mach-mmp/mmp2-dt.c
+++ b/arch/arm/mach-mmp/mmp2-dt.c
@@ -26,8 +26,8 @@ static void __init mmp_init_time(void)
#ifdef CONFIG_CACHE_TAUROS2
tauros2_init(0);
#endif
- mmp_dt_init_timer();
of_clk_init(NULL);
+ mmp_dt_init_timer();
}
static const char *const mmp2_dt_board_compat[] __initconst = {