Skip to content

Commit

Permalink
[ARM] 3448/1: [S3C2410] Settle delay when _enabling_ USB PLL
Browse files Browse the repository at this point in the history
Patch from Ben Dooks

Fix the bug in the UPLL enable code which should
have put a 200uS delay in if enabling the USB PLL
from the state where it is off.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Ben Dooks authored and Russell King committed Apr 2, 2006
1 parent dee9b2e commit 2b2ee15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c2410/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ static int s3c24xx_upll_enable(struct clk *clk, int enable)

/* if we started the UPLL, then allow to settle */

if (enable && !(orig & S3C2410_CLKSLOW_UCLK_OFF))
if (enable && (orig & S3C2410_CLKSLOW_UCLK_OFF))
udelay(200);

return 0;
Expand Down

0 comments on commit 2b2ee15

Please sign in to comment.