diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2012-07-12 05:03:52 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-07-19 01:29:39 -0400 |
commit | 2e27437a642018284aaa30a687f6d471fd2a7729 (patch) | |
tree | 5d3d06aa8dd2ae7d94c180d57668b557a40b1dd0 /arch/arm/mach-exynos/mach-smdkv310.c | |
parent | 23c7301d74ac2d80d0dafd6f84a6d11a0fc15ce5 (diff) |
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-smdkv310.c')
-rw-r--r-- | arch/arm/mach-exynos/mach-smdkv310.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-exynos/mach-smdkv310.c b/arch/arm/mach-exynos/mach-smdkv310.c index 7464a45745d5..d5347254ed16 100644 --- a/arch/arm/mach-exynos/mach-smdkv310.c +++ b/arch/arm/mach-exynos/mach-smdkv310.c | |||
@@ -366,7 +366,7 @@ static void s5p_tv_setup(void) | |||
366 | static void __init smdkv310_map_io(void) | 366 | static void __init smdkv310_map_io(void) |
367 | { | 367 | { |
368 | exynos_init_io(NULL, 0); | 368 | exynos_init_io(NULL, 0); |
369 | s3c24xx_init_clocks(24000000); | 369 | s3c24xx_init_clocks(clk_xusbxti.rate); |
370 | s3c24xx_init_uarts(smdkv310_uartcfgs, ARRAY_SIZE(smdkv310_uartcfgs)); | 370 | s3c24xx_init_uarts(smdkv310_uartcfgs, ARRAY_SIZE(smdkv310_uartcfgs)); |
371 | } | 371 | } |
372 | 372 | ||
@@ -403,7 +403,6 @@ static void __init smdkv310_machine_init(void) | |||
403 | smdkv310_ehci_init(); | 403 | smdkv310_ehci_init(); |
404 | smdkv310_ohci_init(); | 404 | smdkv310_ohci_init(); |
405 | s3c_hsotg_set_platdata(&smdkv310_hsotg_pdata); | 405 | s3c_hsotg_set_platdata(&smdkv310_hsotg_pdata); |
406 | clk_xusbxti.rate = 24000000; | ||
407 | 406 | ||
408 | platform_add_devices(smdkv310_devices, ARRAY_SIZE(smdkv310_devices)); | 407 | platform_add_devices(smdkv310_devices, ARRAY_SIZE(smdkv310_devices)); |
409 | } | 408 | } |