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>
This commit is contained in:
parent
23c7301d74
commit
2e27437a64
|
@ -1342,9 +1342,8 @@ static struct platform_device *nuri_devices[] __initdata = {
|
|||
|
||||
static void __init nuri_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(nuri_uartcfgs, ARRAY_SIZE(nuri_uartcfgs));
|
||||
}
|
||||
|
||||
|
|
|
@ -717,7 +717,7 @@ static void s5p_tv_setup(void)
|
|||
static void __init origen_map_io(void)
|
||||
{
|
||||
exynos_init_io(NULL, 0);
|
||||
s3c24xx_init_clocks(24000000);
|
||||
s3c24xx_init_clocks(clk_xusbxti.rate);
|
||||
s3c24xx_init_uarts(origen_uartcfgs, ARRAY_SIZE(origen_uartcfgs));
|
||||
}
|
||||
|
||||
|
@ -750,7 +750,6 @@ static void __init origen_machine_init(void)
|
|||
origen_ehci_init();
|
||||
origen_ohci_init();
|
||||
s3c_hsotg_set_platdata(&origen_hsotg_pdata);
|
||||
clk_xusbxti.rate = 24000000;
|
||||
|
||||
s5p_tv_setup();
|
||||
s5p_i2c_hdmiphy_set_platdata(NULL);
|
||||
|
|
|
@ -295,8 +295,6 @@ static struct platform_device *smdk4x12_devices[] __initdata = {
|
|||
|
||||
static void __init smdk4x12_map_io(void)
|
||||
{
|
||||
clk_xusbxti.rate = 24000000;
|
||||
|
||||
exynos_init_io(NULL, 0);
|
||||
s3c24xx_init_clocks(clk_xusbxti.rate);
|
||||
s3c24xx_init_uarts(smdk4x12_uartcfgs, ARRAY_SIZE(smdk4x12_uartcfgs));
|
||||
|
|
|
@ -366,7 +366,7 @@ static void s5p_tv_setup(void)
|
|||
static void __init smdkv310_map_io(void)
|
||||
{
|
||||
exynos_init_io(NULL, 0);
|
||||
s3c24xx_init_clocks(24000000);
|
||||
s3c24xx_init_clocks(clk_xusbxti.rate);
|
||||
s3c24xx_init_uarts(smdkv310_uartcfgs, ARRAY_SIZE(smdkv310_uartcfgs));
|
||||
}
|
||||
|
||||
|
@ -403,7 +403,6 @@ static void __init smdkv310_machine_init(void)
|
|||
smdkv310_ehci_init();
|
||||
smdkv310_ohci_init();
|
||||
s3c_hsotg_set_platdata(&smdkv310_hsotg_pdata);
|
||||
clk_xusbxti.rate = 24000000;
|
||||
|
||||
platform_add_devices(smdkv310_devices, ARRAY_SIZE(smdkv310_devices));
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -908,7 +908,7 @@ static void __init goni_sound_init(void)
|
|||
static void __init goni_map_io(void)
|
||||
{
|
||||
s5pv210_init_io(NULL, 0);
|
||||
s3c24xx_init_clocks(24000000);
|
||||
s3c24xx_init_clocks(clk_xusbxti.rate);
|
||||
s3c24xx_init_uarts(goni_uartcfgs, ARRAY_SIZE(goni_uartcfgs));
|
||||
s5p_set_timer_source(S5P_PWM3, S5P_PWM4);
|
||||
}
|
||||
|
@ -966,8 +966,6 @@ static void __init goni_machine_init(void)
|
|||
/* KEYPAD */
|
||||
samsung_keypad_set_platdata(&keypad_data);
|
||||
|
||||
clk_xusbxti.rate = 24000000;
|
||||
|
||||
platform_add_devices(goni_devices, ARRAY_SIZE(goni_devices));
|
||||
}
|
||||
|
||||
|
|
|
@ -285,7 +285,7 @@ static struct platform_pwm_backlight_data smdkv210_bl_data = {
|
|||
static void __init smdkv210_map_io(void)
|
||||
{
|
||||
s5pv210_init_io(NULL, 0);
|
||||
s3c24xx_init_clocks(24000000);
|
||||
s3c24xx_init_clocks(clk_xusbxti.rate);
|
||||
s3c24xx_init_uarts(smdkv210_uartcfgs, ARRAY_SIZE(smdkv210_uartcfgs));
|
||||
s5p_set_timer_source(S5P_PWM2, S5P_PWM4);
|
||||
}
|
||||
|
@ -321,7 +321,6 @@ static void __init smdkv210_machine_init(void)
|
|||
samsung_bl_set(&smdkv210_bl_gpio_info, &smdkv210_bl_data);
|
||||
|
||||
s3c_hsotg_set_platdata(&smdkv210_hsotg_pdata);
|
||||
clk_xusbxti.rate = 24000000;
|
||||
|
||||
platform_add_devices(smdkv210_devices, ARRAY_SIZE(smdkv210_devices));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue