summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-12-18 20:04:53 +0100
committerOlof Johansson <olof@lixom.net>2020-01-06 18:18:50 +0100
commit0bd0f30bbf060891f58866a46083a9931f71787c (patch)
tree2e21e31a6e0c04455339cb58ab44afe023c90eb0 /arch/arm/mach-mmp
parentMerge tag 'socfpga_dts_fix_for_v5.5' of git://git.kernel.org/pub/scm/linux/ke... (diff)
downloadlinux-0bd0f30bbf060891f58866a46083a9931f71787c.tar.xz
linux-0bd0f30bbf060891f58866a46083a9931f71787c.zip
ARM: mmp: do not divide the clock rate
This was done because the clock driver returned the wrong rate, which is fixed in "clk: mmp2: Fix the order of timer mux parents" patch. Link: https://lore.kernel.org/r/20191218190454.420358-2-lkundrak@v3.sk Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-mmp')
-rw-r--r--arch/arm/mach-mmp/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mmp/time.c b/arch/arm/mach-mmp/time.c
index 110dcb3314d1..c65cfc1ad99b 100644
--- a/arch/arm/mach-mmp/time.c
+++ b/arch/arm/mach-mmp/time.c
@@ -207,7 +207,7 @@ static int __init mmp_dt_init_timer(struct device_node *np)
ret = clk_prepare_enable(clk);
if (ret)
return ret;
- rate = clk_get_rate(clk) / 2;
+ rate = clk_get_rate(clk);
} else if (cpu_is_pj4()) {
rate = 6500000;
} else {