
9 Oct
2017
9 Oct
'17
12:04 p.m.
On Tue, Sep 26, 2017 at 8:05 PM, Maxime Ripard maxime.ripard@free-electrons.com wrote:
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
Applied to u-boot-sunxi/master
thanks!
--
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.