summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sirf/clk-prima2.c
diff options
context:
space:
mode:
authorChao Xie <chao.xie@marvell.com>2014-01-23 03:47:42 +0100
committerMike Turquette <mturquette@linaro.org>2014-03-27 04:59:27 +0100
commit5d26c15d3ba98c31b24286dac7a390a307fcff29 (patch)
tree32dadeb1f46b6bb918edf3b32960f64201e1742e /drivers/clk/sirf/clk-prima2.c
parentclk: mmp: fix the wrong calculation formula (diff)
downloadlinux-5d26c15d3ba98c31b24286dac7a390a307fcff29.tar.xz
linux-5d26c15d3ba98c31b24286dac7a390a307fcff29.zip
clk: mmp: try to use closer one when do round rate
The orignal code will use the bigger rate between "previous rate" and "current rate" when caculate the rate. In fact, hardware cares about the closest one. So choose the closer rate between "previous rate" and "current rate". Signed-off-by: Chao Xie <chao.xie@marvell.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/sirf/clk-prima2.c')
0 files changed, 0 insertions, 0 deletions