Skip to content
Snippets Groups Projects
Commit 0f6e439c authored by Ben Dooks's avatar Ben Dooks Committed by Russell King
Browse files

[ARM] 3474/1: S3C2440: USB rate writes wrong var to CLKDIVN


Patch from Ben Dooks

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

Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 30d41bfb
No related branches found
No related tags found
No related merge requests found
...@@ -139,7 +139,7 @@ static int s3c2440_clk_add(struct sys_device *sysdev) ...@@ -139,7 +139,7 @@ static int s3c2440_clk_add(struct sys_device *sysdev)
clkdivn = __raw_readl(S3C2410_CLKDIVN); clkdivn = __raw_readl(S3C2410_CLKDIVN);
clkdivn |= S3C2440_CLKDIVN_UCLK; clkdivn |= S3C2440_CLKDIVN_UCLK;
__raw_writel(camdivn, S3C2410_CLKDIVN); __raw_writel(clkdivn, S3C2410_CLKDIVN);
mutex_unlock(&clocks_mutex); mutex_unlock(&clocks_mutex);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment