aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/clkt_clksel.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/clkt_clksel.c')
-rw-r--r--arch/arm/mach-omap2/clkt_clksel.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/clkt_clksel.c b/arch/arm/mach-omap2/clkt_clksel.c
index 25a2363106de..ade19f6369df 100644
--- a/arch/arm/mach-omap2/clkt_clksel.c
+++ b/arch/arm/mach-omap2/clkt_clksel.c
@@ -377,8 +377,6 @@ int omap2_clksel_set_rate(struct clk *clk, unsigned long rate)
377 377
378 clk->rate = clk->parent->rate / new_div; 378 clk->rate = clk->parent->rate / new_div;
379 379
380 omap2xxx_clk_commit(clk);
381
382 return 0; 380 return 0;
383} 381}
384 382
@@ -400,8 +398,6 @@ int omap2_clksel_set_parent(struct clk *clk, struct clk *new_parent)
400 __raw_writel(v, clk->clksel_reg); 398 __raw_writel(v, clk->clksel_reg);
401 v = __raw_readl(clk->clksel_reg); /* OCP barrier */ 399 v = __raw_readl(clk->clksel_reg); /* OCP barrier */
402 400
403 omap2xxx_clk_commit(clk);
404
405 clk_reparent(clk, new_parent); 401 clk_reparent(clk, new_parent);
406 402
407 /* CLKSEL clocks follow their parents' rates, divided by a divisor */ 403 /* CLKSEL clocks follow their parents' rates, divided by a divisor */