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>
Loading
Please register or sign in to comment