aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2017-09-05 09:32:41 +0000
committerStephen Boyd <[email protected]>2017-12-22 02:07:53 +0000
commit448c3c057a1dbb6ecf6e507a3f1a58f5eab21560 (patch)
tree358c0a4e6675ce3f4396baebe422d8aad2f2168d /fs/jbd2/commit.c
parentclk: axi-clkgen: Correctly handle nocount bit in recalc_rate() (diff)
downloadkernel-448c3c057a1dbb6ecf6e507a3f1a58f5eab21560.tar.gz
kernel-448c3c057a1dbb6ecf6e507a3f1a58f5eab21560.zip
clk: axi-clkgen: Round closest in round_rate() and recalc_rate()
To minimize the rounding error round to the closest integer when calculating the result in the recalc_rate() and set_rate() callbacks. Also in order to improve precision multiply first and then divide. Signed-off-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions