aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorLori Hikichi <[email protected]>2020-06-12 22:52:12 +0000
committerStephen Boyd <[email protected]>2020-07-24 08:54:18 +0000
commit9f7d5042a64160e20c73d734f9ed5dd8c6bba205 (patch)
treed3e36601f321fa2977b8bded65847e358186f9d1 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentLinux 5.8-rc1 (diff)
downloadkernel-9f7d5042a64160e20c73d734f9ed5dd8c6bba205.tar.gz
kernel-9f7d5042a64160e20c73d734f9ed5dd8c6bba205.zip
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 <[email protected]> Signed-off-by: Ray Jui <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions