aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorMartin Blumenstingl <[email protected]>2021-06-27 22:39:58 +0000
committerStephen Boyd <[email protected]>2021-06-30 18:37:02 +0000
commitdb400ac1444b756030249ed4a35e53a68e557b59 (patch)
tree06c36916ccbc9162087b2c448a8929b673a571cd /drivers/fpga/fpga-bridge.c
parentclk: divider: Add re-usable determine_rate implementations (diff)
downloadkernel-db400ac1444b756030249ed4a35e53a68e557b59.tar.gz
kernel-db400ac1444b756030249ed4a35e53a68e557b59.zip
clk: divider: Switch from .round_rate to .determine_rate by default
.determine_rate is meant to replace .round_rate. The former comes with a benefit which is especially relevant on 32-bit systems: since .determine_rate uses an "unsigned long" (compared to a "signed long" which is used by .round_rate) the maximum value on 32-bit systems increases from 2^31 (or approx. 2.14GHz) to 2^32 (or approx. 4.29GHz). Switch to a .determine_rate implementation by default so 32-bit systems can benefit from the increased maximum value as well as so we have one fewer user of .round_rate. Reviewed-by: Jerome Brunet <[email protected]> Signed-off-by: Martin Blumenstingl <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions