aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/spear/clk-aux-synth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/spear/clk-aux-synth.c')
-rw-r--r--drivers/clk/spear/clk-aux-synth.c3
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,
179 if (gate_name) { 179 if (gate_name) {
180 struct clk *tgate_clk; 180 struct clk *tgate_clk;
181 181
182 tgate_clk = clk_register_gate(NULL, gate_name, aux_name, 0, reg, 182 tgate_clk = clk_register_gate(NULL, gate_name, aux_name,
183 CLK_SET_RATE_PARENT, reg,
183 aux->masks->enable_bit, 0, lock); 184 aux->masks->enable_bit, 0, lock);
184 if (IS_ERR_OR_NULL(tgate_clk)) 185 if (IS_ERR_OR_NULL(tgate_clk))
185 goto free_aux; 186 goto free_aux;