clk: rockchip: rk3368: fix cpuclk core dividers
authorHeiko Stuebner <heiko@sntech.de>
Tue, 19 Jan 2016 09:09:22 +0000 (10:09 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 24 Jan 2016 22:29:16 +0000 (23:29 +0100)
commitc6d5fe2ca8286f35a79f7345c9378c39d48a1527
tree2814f9b5f7eb0560570084aea0430054b7285801
parent535ebd428aeb07c3327947281306f2943f2c9faa
clk: rockchip: rk3368: fix cpuclk core dividers

Similar to commit 9880d4277f6a ("clk: rockchip: fix rk3288 cpuclk core
dividers") it seems the cpuclk dividers are one to high on the rk3368
as well.

And again similar to the previous fix, we opt to make the divider list
contain the values to be written to use the same paradigm for them on all
supported socs.

Fixes: 3536c97a52db ("clk: rockchip: add rk3368 clock controller")
Reported-by: Zhang Qing <zhangqing@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: zhangqing <zhangqing@rock-chips.com>
Cc: stable@vger.kernel.org
drivers/clk/rockchip/clk-rk3368.c