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.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c
index 76afb7b4482c..7a1d56af9e47 100644
--- a/arch/arm/mach-omap2/clock.c
+++ b/arch/arm/mach-omap2/clock.c
@@ -684,9 +684,6 @@ int omap2_clk_set_rate(struct clk *clk, unsigned long rate)
684 if (clk->set_rate != NULL) 684 if (clk->set_rate != NULL)
685 ret = clk->set_rate(clk, rate); 685 ret = clk->set_rate(clk, rate);
686 686
687 if (unlikely(ret == 0 && (clk->flags & RATE_PROPAGATES)))
688 propagate_rate(clk);
689
690 return ret; 687 return ret;
691} 688}
692 689
@@ -774,9 +771,6 @@ int omap2_clk_set_parent(struct clk *clk, struct clk *new_parent)
774 pr_debug("clock: set parent of %s to %s (new rate %ld)\n", 771 pr_debug("clock: set parent of %s to %s (new rate %ld)\n",
775 clk->name, clk->parent->name, clk->rate); 772 clk->name, clk->parent->name, clk->rate);
776 773
777 if (unlikely(clk->flags & RATE_PROPAGATES))
778 propagate_rate(clk);
779
780 return 0; 774 return 0;
781} 775}
782 776