]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: 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)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 9 May 2007 09:39:29 +0000 (10:39 +0100)
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>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-omap/clock.c

index 3d017b04784bc76265a4e22841df6e8e7dc1f6b0..0a603242f36712e1060542f6c14c97efd3100a76 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 */