Commit 29a7bcfd authored by Ben Dooks's avatar Ben Dooks
Browse files

[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: default avatarBen Dooks <ben-linux@fluff.org>
parent 66493c2d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}