]> git.baikalelectronics.ru Git - kernel.git/commit
clk: always pass parent_rate into .round_rate
authorShawn Guo <shawn.guo@linaro.org>
Thu, 12 Apr 2012 12:50:17 +0000 (20:50 +0800)
committerMike Turquette <mturquette@linaro.org>
Tue, 24 Apr 2012 23:37:39 +0000 (16:37 -0700)
commit90bb3f30211f77d68256920ff79c66b109d07498
tree6c1f0df5e626ecf7c30368033478cdaf48b1b872
parentf7b86dbb741a2aee57fe61a2d7b67a3455f8a85f
clk: always pass parent_rate into .round_rate

The parent_rate will likely be used by most .round_rate implementation
no matter whether flag CLK_SET_RATE_PARENT is set or not, so let's
always pass parent_rate into .round_rate.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-divider.c
drivers/clk/clk.c