summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/mach-universal_c210.c
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2012-07-12 11:03:52 +0200
committerKukjin Kim <kgene.kim@samsung.com>2012-07-19 07:29:39 +0200
commit2e27437a642018284aaa30a687f6d471fd2a7729 (patch)
tree5d3d06aa8dd2ae7d94c180d57668b557a40b1dd0 /arch/arm/mach-exynos/mach-universal_c210.c
parentMerge branch 'next/board-samsung-2' into next/board-samsung-3 (diff)
downloadlinux-2e27437a642018284aaa30a687f6d471fd2a7729.tar.xz
linux-2e27437a642018284aaa30a687f6d471fd2a7729.zip
ARM: SAMSUNG: no need to set the value for clk_xusbxti when it is 24Mhz
Since clk_xusbxti.rate is 24Mhz as a default, so we don't need to set that when it is 24Mhz. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/mach-universal_c210.c')
-rw-r--r--arch/arm/mach-exynos/mach-universal_c210.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-exynos/mach-universal_c210.c b/arch/arm/mach-exynos/mach-universal_c210.c
index cd92fa86ba41..e7ba7ec1ca34 100644
--- a/arch/arm/mach-exynos/mach-universal_c210.c
+++ b/arch/arm/mach-exynos/mach-universal_c210.c
@@ -1100,9 +1100,8 @@ static struct platform_device *universal_devices[] __initdata = {
static void __init universal_map_io(void)
{
- clk_xusbxti.rate = 24000000;
exynos_init_io(NULL, 0);
- s3c24xx_init_clocks(24000000);
+ s3c24xx_init_clocks(clk_xusbxti.rate);
s3c24xx_init_uarts(universal_uartcfgs, ARRAY_SIZE(universal_uartcfgs));
s5p_set_timer_source(S5P_PWM2, S5P_PWM4);
}