diff options
author | Massimo Pegorer <massimo.pegorer+oss@gmail.com> | 2023-08-03 14:08:11 +0300 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2023-08-12 05:37:57 +0300 |
commit | e4c6ccc6875638766970d249a6cb5dacce6822fe (patch) | |
tree | 3fcae2f77e2e2668f4e0f328a80448e03b7e1914 /Makefile | |
parent | 36adce73724d53f0a22520af86690381b69518aa (diff) | |
download | u-boot-e4c6ccc6875638766970d249a6cb5dacce6822fe.tar.xz |
clk: rockchip: rk3308: Fix ordering between masking and shifting
As per definitions of masks and shift offsets in cru_rk3308.h, values
read from registers must be first masked and then shifted. By the way,
this fix is binary invariant, because in all of fixed cases the shift
offset is zero.
Signed-off-by: Massimo Pegorer <massimo.pegorer+oss@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions