diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-10-16 22:58:46 +0100 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-10-16 22:58:46 +0100 |
commit | 0ffda6cca2c66e42d0ad65719f58c637ed180b05 (patch) | |
tree | dc042159ff1573f5451d2671c737311a7ac7b949 /arch/arm/mach-s3c2443 | |
parent | c472273f863c80b87e53356256c5466df24328f0 (diff) | |
parent | 55b404fd78792d7a88d19f2534510ee42841146f (diff) |
Merge branch 'for-rmk-fixes' of git://aeryn.fluff.org.uk/bjdooks/linux into s3c64xx
Diffstat (limited to 'arch/arm/mach-s3c2443')
-rw-r--r-- | arch/arm/mach-s3c2443/clock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c2443/clock.c b/arch/arm/mach-s3c2443/clock.c index 2f60bf6b8d4..f854e7385e3 100644 --- a/arch/arm/mach-s3c2443/clock.c +++ b/arch/arm/mach-s3c2443/clock.c @@ -1033,8 +1033,7 @@ void __init s3c2443_init_clocks(int xtal) fclk = pll / s3c2443_fclk_div(clkdiv0); hclk = s3c2443_prediv_getrate(&clk_prediv); - hclk = hclk / s3c2443_get_hdiv(clkdiv0); - hclk = hclk / ((clkdiv0 & S3C2443_CLKDIV0_HALF_HCLK) ? 2 : 1); + hclk /= s3c2443_get_hdiv(clkdiv0); pclk = hclk / ((clkdiv0 & S3C2443_CLKDIV0_HALF_PCLK) ? 2 : 1); s3c24xx_setup_clocks(xtal, fclk, hclk, pclk); |