]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Fix OMAP2 clock.c typo
authorSamuel Ortiz <samuel.ortiz@solidboot.com>
Thu, 17 Aug 2006 17:41:45 +0000 (20:41 +0300)
committerJuha Yrjola <juha.yrjola@solidboot.com>
Thu, 17 Aug 2006 17:41:45 +0000 (20:41 +0300)
A forgotten parenthesis in clock.c caused the PLL stabilization loop
to not be executed correctly.

Signed-off-by: Samuel Ortiz <samuel.ortiz@solidboot.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
arch/arm/mach-omap2/clock.c

index a72afac979744b84f4ed21e42add8e8f5b52856a..94e5bc076447da1de3e98db452fbddc4c3ad1a2d 100644 (file)
@@ -103,7 +103,7 @@ static void omap2_clk_fixed_enable(struct clk *clk)
        else if (clk == &apll54_ck)
                cval = (1 << 6);
 
-       while (!CM_IDLEST_CKGEN & cval) {               /* Wait for lock */
+       while (!(CM_IDLEST_CKGEN & cval)) {             /* Wait for lock */
                ++i;
                udelay(1);
                if (i == 100000)