aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/clock.c')
-rw-r--r--arch/arm/mach-omap2/clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c
index 478ca660fffd..38a7898d0ce3 100644
--- a/arch/arm/mach-omap2/clock.c
+++ b/arch/arm/mach-omap2/clock.c
@@ -175,7 +175,7 @@ void omap2_init_clksel_parent(struct clk *clk)
175 clk->name, clks->parent->name, 175 clk->name, clks->parent->name,
176 ((clk->parent) ? 176 ((clk->parent) ?
177 clk->parent->name : "NULL")); 177 clk->parent->name : "NULL"));
178 clk->parent = clks->parent; 178 clk_reparent(clk, clks->parent);
179 }; 179 };
180 found = 1; 180 found = 1;
181 } 181 }
@@ -780,7 +780,7 @@ int omap2_clk_set_parent(struct clk *clk, struct clk *new_parent)
780 if (clk->usecount > 0) 780 if (clk->usecount > 0)
781 _omap2_clk_enable(clk); 781 _omap2_clk_enable(clk);
782 782
783 clk->parent = new_parent; 783 clk_reparent(clk, new_parent);
784 784
785 /* CLKSEL clocks follow their parents' rates, divided by a divisor */ 785 /* CLKSEL clocks follow their parents' rates, divided by a divisor */
786 clk->rate = new_parent->rate; 786 clk->rate = new_parent->rate;