mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
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>
This commit is contained in:
committed by
Olof Johansson
parent
43522b78b5
commit
0bd0f30bbf
@@ -207,7 +207,7 @@ static int __init mmp_dt_init_timer(struct device_node *np)
|
|||||||
ret = clk_prepare_enable(clk);
|
ret = clk_prepare_enable(clk);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
rate = clk_get_rate(clk) / 2;
|
rate = clk_get_rate(clk);
|
||||||
} else if (cpu_is_pj4()) {
|
} else if (cpu_is_pj4()) {
|
||||||
rate = 6500000;
|
rate = 6500000;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user