linux_dsm_epyc7002/drivers/clk/sunxi
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
..
clk-factors.c clk: sunxi: register factors clocks behind composite 2013-12-28 17:07:42 -03:00
clk-factors.h clk: sunxi: register factors clocks behind composite 2013-12-28 17:07:42 -03:00
clk-sunxi.c clk: sunxi: fix some calculations 2014-03-19 12:34:56 -07:00
Makefile clk: arm: sunxi: Add a new clock driver for sunxi SOCs 2013-03-27 08:35:34 -07:00