summaryrefslogtreecommitdiffstats
path: root/block/blk.h
diff options
context:
space:
mode:
authorEmilio López <emilio@elopez.com.ar>2014-03-19 15:19:32 -0300
committerMike Turquette <mturquette@linaro.org>2014-03-19 12:34:56 -0700
commit2226013972da1ec0a2aeb13a684180bb2b50e0f3 (patch)
tree46eb6fa45466430ff9995979607226d4c18f2e87 /block/blk.h
parent5a8ddf26822dcf601a44d35efa8fe162cbc84e62 (diff)
clk: sunxi: fix some calculations
Some divisor calculations were misrounded, causing higher than requested rates on some clocks. Fix them up using DIV_ROUND_UP, and replace one homebrew instance of it as well with the right macro. Reported-by: Boris BREZILLON <b.brezillon.dev@gmail.com> Signed-off-by: Emilio López <emilio@elopez.com.ar> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions