Emilio López 2226013972 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>
2014-03-19 12:34:56 -07:00
..
2014-02-20 12:46:24 -08:00
2014-02-17 12:42:45 -08:00
2014-02-14 16:13:00 -08:00
2014-03-19 12:34:56 -07:00
2014-02-14 10:40:47 +01:00
2014-02-21 23:57:33 +01:00
2014-02-14 12:48:16 -08:00
2014-02-21 09:55:32 -08:00
2014-02-20 12:46:24 -08:00
2014-02-14 10:32:28 -08:00
2014-01-15 14:51:22 -08:00
2014-01-27 08:15:51 -08:00
2014-02-23 10:39:21 -08:00
2014-01-22 22:24:35 -08:00
2014-02-12 12:28:05 -08:00