summaryrefslogtreecommitdiff
path: root/drivers/clk/rockchip/clk-rk3328.c
diff options
context:
space:
mode:
authorLori Hikichi <lhikichi@broadcom.com>2020-06-13 01:52:12 +0300
committerStephen Boyd <sboyd@kernel.org>2020-07-24 11:54:18 +0300
commit9f7d5042a64160e20c73d734f9ed5dd8c6bba205 (patch)
treed3e36601f321fa2977b8bded65847e358186f9d1 /drivers/clk/rockchip/clk-rk3328.c
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff)
downloadlinux-9f7d5042a64160e20c73d734f9ed5dd8c6bba205.tar.xz
clk: iproc: round clock rate to the closest
Change from 'DIV_ROUND_UP' to 'DIV_ROUND_CLOSEST' when calculating the clock divisor in the iProc ASIU clock driver to allow to get to the closest clock rate. Fixes: 5fe225c105fd ("clk: iproc: add initial common clock support") Signed-off-by: Lori Hikichi <lhikichi@broadcom.com> Signed-off-by: Ray Jui <ray.jui@broadcom.com> Link: https://lore.kernel.org/r/20200612225212.124301-1-ray.jui@broadcom.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/rockchip/clk-rk3328.c')
0 files changed, 0 insertions, 0 deletions