summaryrefslogtreecommitdiffstats
path: root/net/can/bcm.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2012-04-17 13:15:38 +0200
committerMike Turquette <mturquette@linaro.org>2012-04-25 01:37:41 +0200
commit1b2f99037a29d48d03ddd2fd0dc117888ec737f4 (patch)
treee914fe01d0cda61112866d4db1e2e6b71d7db57d /net/can/bcm.c
parentclk: clk-private: Add DEFINE_CLK macro (diff)
downloadlinux-1b2f99037a29d48d03ddd2fd0dc117888ec737f4.tar.xz
linux-1b2f99037a29d48d03ddd2fd0dc117888ec737f4.zip
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 'net/can/bcm.c')
0 files changed, 0 insertions, 0 deletions