linux/drivers/clk/mmp
Chao Xie c45693a648 clk: mmp: fix the wrong calculation formula
The formula is numerator/denominator = Fin / (Fout * factor)
So
Fout = Fin * denominator / (numerator * factor).
Current clk_factor_round_rate and clk_factor_recalc_rate use
wrong formula. This patch will fix them.

Signed-off-by: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
2014-03-26 20:59:27 -07:00
..
clk-apbc.c
clk-apmu.c
clk-frac.c clk: mmp: fix the wrong calculation formula 2014-03-26 20:59:27 -07:00
clk-mmp2.c clk: add CLK_SET_RATE_NO_REPARENT flag 2013-08-19 12:27:17 -07:00
clk-pxa168.c clk: add CLK_SET_RATE_NO_REPARENT flag 2013-08-19 12:27:17 -07:00
clk-pxa910.c clk: add CLK_SET_RATE_NO_REPARENT flag 2013-08-19 12:27:17 -07:00
clk.h
Makefile clk: mmp: add clock definition for mmp2 2012-08-28 14:15:42 -07:00