diff options
author | Vipul Kumar Samar <vipulkumar.samar@st.com> | 2012-11-10 12:13:43 +0530 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-11-21 11:45:45 -0800 |
commit | 1249979242db10d2fe1793f26e7658d94b7bf6dc (patch) | |
tree | 893efc50099b1ad06e137af84c5cd37f7b33c3b2 /drivers/clk/spear/clk-aux-synth.c | |
parent | 463f9e209ca69d52344479544d1e52c02f2e6918 (diff) | |
download | op-kernel-dev-1249979242db10d2fe1793f26e7658d94b7bf6dc.zip op-kernel-dev-1249979242db10d2fe1793f26e7658d94b7bf6dc.tar.gz |
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 6756e7c..bdfb4421 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; |