summaryrefslogtreecommitdiffstats
path: root/drivers/clk/ti/gate.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/ti/gate.c')
-rw-r--r--drivers/clk/ti/gate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/ti/gate.c b/drivers/clk/ti/gate.c
index ff3380ea3861..d4f6cb20e16e 100644
--- a/drivers/clk/ti/gate.c
+++ b/drivers/clk/ti/gate.c
@@ -142,6 +142,9 @@ struct clk *ti_clk_register_gate(struct ti_clk *setup)
gate = setup->data;
+ if (gate->flags & CLKF_INTERFACE)
+ return ti_clk_register_interface(setup);
+
reg_setup = (struct clk_omap_reg *)®
if (gate->flags & CLKF_SET_RATE_PARENT)