> Use DIV_ROUND_UP instead RATE_TO_DIV for all Rockchip SoC > clock driver. > Add or fix the div-field overflow check at the same time. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2: > - add overflow check for div-field > > drivers/clk/rockchip/clk_rk3036.c | 3 ++- > drivers/clk/rockchip/clk_rk3188.c | 12 +++++------- > drivers/clk/rockchip/clk_rk322x.c | 6 ++---- > drivers/clk/rockchip/clk_rk3288.c | 7 +++---- > drivers/clk/rockchip/clk_rk3368.c | 8 +++----- > drivers/clk/rockchip/clk_rk3399.c | 11 ++++++----- > drivers/clk/rockchip/clk_rv1108.c | 3 --- > 7 files changed, 21 insertions(+), 29 deletions(-) >
Applied to u-boot-rockchip, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot