]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] S3C2443: Fix s3c2443_clkcon_enable_p() using wrong register.
authorBen Dooks <ben-linux@fluff.org>
Mon, 7 Jul 2008 17:12:38 +0000 (18:12 +0100)
committerBen Dooks <ben-linux@fluff.org>
Mon, 7 Jul 2008 17:13:01 +0000 (18:13 +0100)
s3c2443_clkcon_enable_p() was reading from the correct register
S3C2443_PCLKCON, but then writing the value back to the wrong
register S3C2443_HCLKCON.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c2443/clock.c

index b42f956738d0fa3620051a5f36bf543c0723fffc..24da92417a16a7e64fd05f3c7882d9c5af29e3be 100644 (file)
@@ -81,7 +81,7 @@ static int s3c2443_clkcon_enable_p(struct clk *clk, int enable)
        else
                clkcon &= ~clocks;
 
-       __raw_writel(clkcon, S3C2443_HCLKCON);
+       __raw_writel(clkcon, S3C2443_PCLKCON);
 
        return 0;
 }