]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: rockchip: rk3368: fix cpuclk core dividers
authorHeiko Stuebner <heiko@sntech.de>
Tue, 19 Jan 2016 09:09:22 +0000 (10:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2016 14:33:46 +0000 (07:33 -0700)
commit2c72f04687ad0818c0c9fc50dfad315368d3c4bb
tree84a2ebc55923fcd219002bbf2359faff8b47f830
parent02bde5aae8d4b0120a8efb6ed6c53f10ca2c3727
clk: rockchip: rk3368: fix cpuclk core dividers

commit c6d5fe2ca8286f35a79f7345c9378c39d48a1527 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/rockchip/clk-rk3368.c