
26 Sep
2017
26 Sep
'17
4:35 p.m.
On Tue, Sep 26, 2017 at 02:02:47PM +0000, Quentin Schulz wrote:
As explained in arch/arm/mach-sunxi/clock_sun8i_a83t.c, clk for CPU clusters is computed as clk = 24*n. However, the current formula is clk = 24*(n-1).
This results in a clock set to a frequency that isn't specified as possible for CPUs.
Let's use the correct formula.
Fixes: f542948b1e8c ("sunxi: clk: add basic clocks for A83T") Signed-off-by: Quentin Schulz quentin.schulz@free-electrons.com
Acked-by: Maxime Ripard maxime.ripard@free-electrons.com
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com