summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorLori Hikichi <lori.hikichi@broadcom.com>2017-08-14 22:00:39 +0300
committerStephen Boyd <sboyd@codeaurora.org>2017-12-29 01:53:34 +0300
commit85151a6b0b331f7bc4d9534d6138bfdd3e206b0d (patch)
tree641aa0820acb441ee4a6633527fea365b9a5885f /drivers/fpga/fpga-bridge.c
parentbecf123772a9ef15823a3f495478fe68e45b5028 (diff)
downloadlinux-85151a6b0b331f7bc4d9534d6138bfdd3e206b0d.tar.xz
clk: iproc: Fix error in the pll post divider rate calculation
The pll post divider code was using DIV_ROUND_UP when determining the divider value best suited to produce the target frequency. Using DIV_ROUND_CLOSEST will give us better divider values when the division results in a small remainder. Also, change the post divider clock over to the determine_rate api instead of round_rate. Signed-off-by: Simran Rai <ssimran@broadcom.com> Signed-off-by: Lori Hikichi <lori.hikichi@broadcom.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions