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-origen.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-origen.c')
-rw-r--r-- | arch/arm/mach-exynos/mach-origen.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-exynos/mach-origen.c b/arch/arm/mach-exynos/mach-origen.c index 9ed0229db8ae..b563b43fee83 100644 --- a/arch/arm/mach-exynos/mach-origen.c +++ b/arch/arm/mach-exynos/mach-origen.c | |||
@@ -717,7 +717,7 @@ static void s5p_tv_setup(void) | |||
717 | static void __init origen_map_io(void) | 717 | static void __init origen_map_io(void) |
718 | { | 718 | { |
719 | exynos_init_io(NULL, 0); | 719 | exynos_init_io(NULL, 0); |
720 | s3c24xx_init_clocks(24000000); | 720 | s3c24xx_init_clocks(clk_xusbxti.rate); |
721 | s3c24xx_init_uarts(origen_uartcfgs, ARRAY_SIZE(origen_uartcfgs)); | 721 | s3c24xx_init_uarts(origen_uartcfgs, ARRAY_SIZE(origen_uartcfgs)); |
722 | } | 722 | } |
723 | 723 | ||
@@ -750,7 +750,6 @@ static void __init origen_machine_init(void) | |||
750 | origen_ehci_init(); | 750 | origen_ehci_init(); |
751 | origen_ohci_init(); | 751 | origen_ohci_init(); |
752 | s3c_hsotg_set_platdata(&origen_hsotg_pdata); | 752 | s3c_hsotg_set_platdata(&origen_hsotg_pdata); |
753 | clk_xusbxti.rate = 24000000; | ||
754 | 753 | ||
755 | s5p_tv_setup(); | 754 | s5p_tv_setup(); |
756 | s5p_i2c_hdmiphy_set_platdata(NULL); | 755 | s5p_i2c_hdmiphy_set_platdata(NULL); |