ARM: OMAP1: add SoSSI clock (call propagate_rate for childrens)
authorImre Deak <imre.deak@solidboot.com>
Tue, 6 Mar 2007 11:52:01 +0000 (03:52 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 29 Mar 2007 13:31:00 +0000 (09:31 -0400)
Clocks with the follow parent rate mode were not updating their
children at propagate rate time.

Signed-off-by: Imre Deak <imre.deak@solidboot.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/clock.c

index 3d017b0..0a60324 100644 (file)
@@ -284,6 +284,8 @@ void followparent_recalc(struct clk *clk)
                return;
 
        clk->rate = clk->parent->rate;
+       if (unlikely(clk->flags & RATE_PROPAGATES))
+               propagate_rate(clk);
 }
 
 /* Propagate rate to children */