From: Guennadi Liakhovetski Date: Tue, 2 Nov 2010 11:27:24 +0000 (+0000) Subject: sh: add clk_round_parent() to optimize parent clock rate X-Git-Tag: v2.6.37-rc2~79^2^4~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6af26c6c99f01e810f9944543df810e320284aa3;p=pandora-kernel.git sh: add clk_round_parent() to optimize parent clock rate Sometimes it is possible and reasonable to adjust the parent clock rate to improve precision of the child clock, e.g., if the child clock has no siblings. clk_round_parent() is a new addition to the SH clock-framework API, that implements such an optimization for child clocks with divisors, taking all integer values in a range. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Paul Mundt --- Reading git-diff-tree failed