Quentin Schulz c96f598be7 sunxi: clk: fix N formula for CPUX clocks
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>
Reviewed-by: Jagan Teki <jagan@openedev.com>
2017-10-25 10:05:05 +02:00
..
2017-08-23 10:45:45 +02:00
2017-10-12 17:31:16 +02:00
2017-08-23 10:45:45 +02:00
2015-02-25 07:59:50 +01:00
2017-05-12 08:37:06 -04:00
2014-04-08 00:15:12 +02:00
2017-10-02 21:52:20 -04:00
2016-12-15 11:57:44 -08:00
2017-10-09 08:48:45 -07:00
2014-01-09 16:08:44 +01:00