diff options
author | Icenowy Zheng | 2018-08-08 19:19:52 +0200 |
---|---|---|
committer | Chen-Yu Tsai | 2018-08-27 04:35:03 +0200 |
commit | 2852bfbf4f168fec27049ad9ed20941fc9e84b95 (patch) | |
tree | a8217b9fbafbb8abb7aa9d03a7027ed29191c192 /samples/timers | |
parent | Linux 4.19-rc1 (diff) | |
download | kernel-qcow2-linux-2852bfbf4f168fec27049ad9ed20941fc9e84b95.tar.gz kernel-qcow2-linux-2852bfbf4f168fec27049ad9ed20941fc9e84b95.tar.xz kernel-qcow2-linux-2852bfbf4f168fec27049ad9ed20941fc9e84b95.zip |
clk: sunxi-ng: h6: fix bus clocks' divider position
The bus clocks (AHB/APB) on Allwinner H6 have their second divider start
at bit 8, according to the user manual and the BSP code. However,
currently the divider offset is incorrectly set to 16, thus the divider
is not correctly read and the clock frequency is not correctly calculated.
Fix this bit offset on all affected bus clocks in ccu-sun50i-h6.
Cc: stable@vger.kernel.org # v4.17.y
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'samples/timers')
0 files changed, 0 insertions, 0 deletions