Skip to content

Commit

Permalink
[ARM] 3474/1: S3C2440: USB rate writes wrong var to CLKDIVN
Browse files Browse the repository at this point in the history
Patch from Ben Dooks

The wrong variable is written back to CLKDIVN
register if the USB PLL speed is above 94MHz

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 11, 2006
1 parent 30d41bf commit 0f6e439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c2410/s3c2440-clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ static int s3c2440_clk_add(struct sys_device *sysdev)

clkdivn = __raw_readl(S3C2410_CLKDIVN);
clkdivn |= S3C2440_CLKDIVN_UCLK;
__raw_writel(camdivn, S3C2410_CLKDIVN);
__raw_writel(clkdivn, S3C2410_CLKDIVN);

mutex_unlock(&clocks_mutex);
}
Expand Down

0 comments on commit 0f6e439

Please sign in to comment.