Skip to content

Commit

Permalink
[ARM] S3C2443: Fix s3c2443_clkcon_enable_p() using wrong register.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ben Dooks committed Jul 7, 2008
1 parent 66493c2 commit 29a7bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c2443/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 29a7bcf

Please sign in to comment.