From: Emilio López Date: Wed, 19 Mar 2014 18:19:32 +0000 (-0300) Subject: clk: sunxi: fix some calculations X-Git-Tag: v3.15-rc1~72^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2226013972da1ec0a2aeb13a684180bb2b50e0f3;p=pandora-kernel.git 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 Signed-off-by: Emilio López Signed-off-by: Mike Turquette --- Reading git-diff-tree failed