Skip to content
Commit e4c6ccc6 authored by Massimo Pegorer's avatar Massimo Pegorer Committed by Kever Yang
Browse files

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: default avatarMassimo Pegorer <massimo.pegorer+oss@gmail.com>
Reviewed-by: default avatarKever Yang <kever.yang@rock-chips.com>
parent 36adce73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment