diff options
author | Emilio López <[email protected]> | 2014-03-19 15:19:32 -0300 |
---|---|---|
committer | Mike Turquette <[email protected]> | 2014-03-19 12:34:56 -0700 |
commit | 2226013972da1ec0a2aeb13a684180bb2b50e0f3 (patch) | |
tree | 46eb6fa45466430ff9995979607226d4c18f2e87 /scripts/gdb/linux/utils.py | |
parent | 5a8ddf26822dcf601a44d35efa8fe162cbc84e62 (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 <[email protected]>
Signed-off-by: Emilio López <[email protected]>
Signed-off-by: Mike Turquette <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions