aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-07-07 18:12:38 +0100
committerBen Dooks <ben-linux@fluff.org>2008-07-07 18:13:01 +0100
commit29a7bcfd144a577b5cdb3b735c58e20d0489b30e (patch)
tree79bac7e2d108cf810e87c7113af562b62eaadd95 /arch/arm
parent66493c2d88d5086399c5a485d6e41cb76b241a1f (diff)
downloadkernel_samsung_espresso10-29a7bcfd144a577b5cdb3b735c58e20d0489b30e.zip
kernel_samsung_espresso10-29a7bcfd144a577b5cdb3b735c58e20d0489b30e.tar.gz
kernel_samsung_espresso10-29a7bcfd144a577b5cdb3b735c58e20d0489b30e.tar.bz2
[ARM] S3C2443: Fix s3c2443_clkcon_enable_p() using wrong register.
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-s3c2443/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2443/clock.c b/arch/arm/mach-s3c2443/clock.c
index b42f956..24da924 100644
--- a/arch/arm/mach-s3c2443/clock.c
+++ b/arch/arm/mach-s3c2443/clock.c
@@ -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;
}