aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2010-11-02 11:27:24 +0000
committerPaul Mundt <lethal@linux-sh.org>2010-11-08 09:35:26 +0900
commit6af26c6c99f01e810f9944543df810e320284aa3 (patch)
tree9eaca6f86d322b700484e13cd4ebb0b3f6fc0c97 /arch
parentsh: clkfwk: Fix up rate rounding error handling. (diff)
downloadlinux-dev-6af26c6c99f01e810f9944543df810e320284aa3.tar.xz
linux-dev-6af26c6c99f01e810f9944543df810e320284aa3.zip
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 <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions