aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/rockchip/clk.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/rockchip/clk.c')
-rw-r--r--drivers/clk/rockchip/clk.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/clk/rockchip/clk.c b/drivers/clk/rockchip/clk.c
index 1e68bff481b8..dec6f8d6dc13 100644
--- a/drivers/clk/rockchip/clk.c
+++ b/drivers/clk/rockchip/clk.c
@@ -246,9 +246,6 @@ void __init rockchip_clk_register_branches(
246 list->div_flags, &clk_lock); 246 list->div_flags, &clk_lock);
247 break; 247 break;
248 case branch_fraction_divider: 248 case branch_fraction_divider:
249 /* keep all gates untouched for now */
250 flags |= CLK_IGNORE_UNUSED;
251
252 clk = rockchip_clk_register_frac_branch(list->name, 249 clk = rockchip_clk_register_frac_branch(list->name,
253 list->parent_names, list->num_parents, 250 list->parent_names, list->num_parents,
254 reg_base, list->muxdiv_offset, list->div_flags, 251 reg_base, list->muxdiv_offset, list->div_flags,
@@ -258,18 +255,12 @@ void __init rockchip_clk_register_branches(
258 case branch_gate: 255 case branch_gate:
259 flags |= CLK_SET_RATE_PARENT; 256 flags |= CLK_SET_RATE_PARENT;
260 257
261 /* keep all gates untouched for now */
262 flags |= CLK_IGNORE_UNUSED;
263
264 clk = clk_register_gate(NULL, list->name, 258 clk = clk_register_gate(NULL, list->name,
265 list->parent_names[0], flags, 259 list->parent_names[0], flags,
266 reg_base + list->gate_offset, 260 reg_base + list->gate_offset,
267 list->gate_shift, list->gate_flags, &clk_lock); 261 list->gate_shift, list->gate_flags, &clk_lock);
268 break; 262 break;
269 case branch_composite: 263 case branch_composite:
270 /* keep all gates untouched for now */
271 flags |= CLK_IGNORE_UNUSED;
272
273 clk = rockchip_clk_register_branch(list->name, 264 clk = rockchip_clk_register_branch(list->name,
274 list->parent_names, list->num_parents, 265 list->parent_names, list->num_parents,
275 reg_base, list->muxdiv_offset, list->mux_shift, 266 reg_base, list->muxdiv_offset, list->mux_shift,