UPSTREAM: clk: rockchip: rk3368: fix cpuclk core dividers
authorHeiko Stuebner <heiko@sntech.de>
Tue, 19 Jan 2016 09:09:22 +0000 (10:09 +0100)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 26 Jan 2016 07:07:46 +0000 (15:07 +0800)
commite518354e377ba911148fb3a4a4bb741f6aa53583
treea33dcc452c4d7f72900a0fc6126ee6e3f93c79b5
parent69c9ca4166a351b2dbee7badd3c81a10635f493c
UPSTREAM: 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
(cherry picked from git.kernel.org mmind/linux-rockchip.git v4.6-clk/next
 commit c6d5fe2ca8286f35a79f7345c9378c39d48a1527)

Change-Id: If85678467e8dc4b4cfce07c3d31faf0c11479780
drivers/clk/rockchip/clk-rk3368.c