projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43522b7
)
ARM: mmp: do not divide the clock rate
author
Lubomir Rintel
<lkundrak@v3.sk>
Wed, 18 Dec 2019 19:04:53 +0000
(20:04 +0100)
committer
Olof Johansson
<olof@lixom.net>
Mon, 6 Jan 2020 17:18:50 +0000
(09:18 -0800)
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>
arch/arm/mach-mmp/time.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-mmp/time.c
b/arch/arm/mach-mmp/time.c
index
110dcb3
..
c65cfc1
100644
(file)
--- 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 {