From: Tony Lindgren Date: Sun, 22 Mar 2015 22:35:24 +0000 (-0700) Subject: clk: ti: Fix FAPLL recalc_rate for rounding errors X-Git-Tag: omap-for-v4.2/o2_dc~66^2~24^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33ca29c99e8680b4c921c6eafb9fc1603c5b9779;p=pandora-kernel.git clk: ti: Fix FAPLL recalc_rate for rounding errors We need to round the calculated value to have it match the requested rate. While at it, let's fix a typo and use a define for SYNTH_MAX_DIV_M as we will need it in later patches for set_rate. And let's remove two unused includes. Cc: Brian Hutchinson Cc: Matthijs van Duin Cc: Tero Kristo Signed-off-by: Tony Lindgren Signed-off-by: Tero Kristo --- Reading git-diff-tree failed