diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-29 19:38:13 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-01-11 12:16:21 -0500 |
commit | d5b9cdbcf74c192907e8290b85c3dcb3117984fb (patch) | |
tree | 5872f7a3c8c5e4a7af4564640e5b1a9f93f9edca /arch/arm/mach-s3c64xx | |
parent | 5b0b34ea755810462346b24e24643eb93ebc919c (diff) |
ARM: S3C64XX: Remove unconditional power domain disables
Now that we have software runtime power management support this code is
redundant.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx')
-rw-r--r-- | arch/arm/mach-s3c64xx/pm.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm/mach-s3c64xx/pm.c b/arch/arm/mach-s3c64xx/pm.c index 055dac90e0e2..7d3e81b9dd06 100644 --- a/arch/arm/mach-s3c64xx/pm.c +++ b/arch/arm/mach-s3c64xx/pm.c | |||
@@ -346,23 +346,10 @@ int __init s3c64xx_pm_init(void) | |||
346 | 346 | ||
347 | static __init int s3c64xx_pm_initcall(void) | 347 | static __init int s3c64xx_pm_initcall(void) |
348 | { | 348 | { |
349 | u32 val; | ||
350 | |||
351 | pm_cpu_prep = s3c64xx_pm_prepare; | 349 | pm_cpu_prep = s3c64xx_pm_prepare; |
352 | pm_cpu_sleep = s3c64xx_cpu_suspend; | 350 | pm_cpu_sleep = s3c64xx_cpu_suspend; |
353 | pm_uart_udivslot = 1; | 351 | pm_uart_udivslot = 1; |
354 | 352 | ||
355 | /* | ||
356 | * Unconditionally disable power domains that contain only | ||
357 | * blocks which have no mainline driver support. | ||
358 | */ | ||
359 | val = __raw_readl(S3C64XX_NORMAL_CFG); | ||
360 | val &= ~(S3C64XX_NORMALCFG_DOMAIN_G_ON | | ||
361 | S3C64XX_NORMALCFG_DOMAIN_V_ON | | ||
362 | S3C64XX_NORMALCFG_DOMAIN_I_ON | | ||
363 | S3C64XX_NORMALCFG_DOMAIN_P_ON); | ||
364 | __raw_writel(val, S3C64XX_NORMAL_CFG); | ||
365 | |||
366 | #ifdef CONFIG_S3C_PM_DEBUG_LED_SMDK | 353 | #ifdef CONFIG_S3C_PM_DEBUG_LED_SMDK |
367 | gpio_request(S3C64XX_GPN(12), "DEBUG_LED0"); | 354 | gpio_request(S3C64XX_GPN(12), "DEBUG_LED0"); |
368 | gpio_request(S3C64XX_GPN(13), "DEBUG_LED1"); | 355 | gpio_request(S3C64XX_GPN(13), "DEBUG_LED1"); |