aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/clkdev.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2012-04-17 07:15:38 -0400
committerMike Turquette <mturquette@linaro.org>2012-04-24 19:37:41 -0400
commit1b2f99037a29d48d03ddd2fd0dc117888ec737f4 (patch)
treee914fe01d0cda61112866d4db1e2e6b71d7db57d /drivers/clk/clkdev.c
parent182f9e8cd5e451911a37f121f942409205ede0d6 (diff)
clk: Don't set clk->new_rate twice
if (!clk->ops->round_rate && (clk->flags & CLK_SET_RATE_PARENT)) is true, then we don't need to set clk->new_rate here, as we will call clk_calc_subtree() afterwards and it also sets clk->new_rate. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/clkdev.c')
0 files changed, 0 insertions, 0 deletions