diff options
author | Vipul Kumar Samar <vipulkumar.samar@st.com> | 2012-11-10 07:43:43 +0100 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-11-21 20:45:45 +0100 |
commit | 1249979242db10d2fe1793f26e7658d94b7bf6dc (patch) | |
tree | 893efc50099b1ad06e137af84c5cd37f7b33c3b2 /drivers/clk/spear/clk-aux-synth.c | |
parent | CLK: SPEAr13xx: fix parent names of multiple clocks (diff) | |
download | linux-1249979242db10d2fe1793f26e7658d94b7bf6dc.tar.xz linux-1249979242db10d2fe1793f26e7658d94b7bf6dc.zip |
CLK: SPEAr: Set CLK_SET_RATE_PARENT for few clocks
Flag CLK_SET_RATE_PARENT is required for a clock, where we want to
propagate clk_set_rate to its parent. This patch adds this to multiple clocks.
Signed-off-by: Vipul Kumar Samar <vipulkumar.samar@st.com>
Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
Signed-off-by: Rajeev Kumar <rajeev-dlh.kumar@st.com>
Signed-off-by: Vijay Kumar Mishra <vijay.kumar@st.com>
Signed-off-by: Vijay Kumar Mishra <vijay.kumar@st.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/spear/clk-aux-synth.c')
-rw-r--r-- | drivers/clk/spear/clk-aux-synth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/spear/clk-aux-synth.c b/drivers/clk/spear/clk-aux-synth.c index 6756e7c3bc07..bdfb4421c643 100644 --- a/drivers/clk/spear/clk-aux-synth.c +++ b/drivers/clk/spear/clk-aux-synth.c @@ -179,7 +179,8 @@ struct clk *clk_register_aux(const char *aux_name, const char *gate_name, if (gate_name) { struct clk *tgate_clk; - tgate_clk = clk_register_gate(NULL, gate_name, aux_name, 0, reg, + tgate_clk = clk_register_gate(NULL, gate_name, aux_name, + CLK_SET_RATE_PARENT, reg, aux->masks->enable_bit, 0, lock); if (IS_ERR_OR_NULL(tgate_clk)) goto free_aux; |