clk: propagate round_rate for CLK_SET_RATE_PARENT case
authorShawn Guo <shawn.guo@linaro.org>
Thu, 12 Apr 2012 12:50:19 +0000 (20:50 +0800)
committerMike Turquette <mturquette@linaro.org>
Tue, 24 Apr 2012 23:37:40 +0000 (16:37 -0700)
commitf4d8af2e5ae6294d5e2220d3963def6f7ffc0873
tree7a7d8a03f1c73d7148167ebd9fc2fceb2f8496cc
parent1c0035d710dd3bfa86d58f851b8737c7f11a9bbc
clk: propagate round_rate for CLK_SET_RATE_PARENT case

Need to propagate round_rate call for the clk that has no .round_rate
operation but with flag CLK_SET_RATE_PARENT set.

For example, clk_mux is a clk with no .round_rate operation.  However,
it could likely be in a clk_set_rate propagation path, saying it has
parent clk who has .round_rate and .set_rate operations.

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