diff options
author | Govindraj.R <govindraj.raja@ti.com> | 2010-09-27 10:50:32 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-09-29 15:43:01 -0400 |
commit | cd4f1faee029593fc10039aeb592dc2986d55f61 (patch) | |
tree | e077d55745d6406f2b23b2f5685b92cb1562af0f /arch/arm/mach-omap2/pm34xx.c | |
parent | e586368904b737b4888927e4c869a25966e5cd05 (diff) |
OMAP3: PM: Add prepare idle and resume idle call for uart4
Add prepare idle and resume idle call for uart4 used by 3630.
Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm34xx.c')
-rw-r--r-- | arch/arm/mach-omap2/pm34xx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 043faaa3f3dc..60baffa27cb3 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c | |||
@@ -388,6 +388,7 @@ void omap_sram_idle(void) | |||
388 | /* PER */ | 388 | /* PER */ |
389 | if (per_next_state < PWRDM_POWER_ON) { | 389 | if (per_next_state < PWRDM_POWER_ON) { |
390 | omap_uart_prepare_idle(2); | 390 | omap_uart_prepare_idle(2); |
391 | omap_uart_prepare_idle(3); | ||
391 | omap2_gpio_prepare_for_idle(per_next_state); | 392 | omap2_gpio_prepare_for_idle(per_next_state); |
392 | if (per_next_state == PWRDM_POWER_OFF) | 393 | if (per_next_state == PWRDM_POWER_OFF) |
393 | omap3_per_save_context(); | 394 | omap3_per_save_context(); |
@@ -459,6 +460,7 @@ void omap_sram_idle(void) | |||
459 | if (per_prev_state == PWRDM_POWER_OFF) | 460 | if (per_prev_state == PWRDM_POWER_OFF) |
460 | omap3_per_restore_context(); | 461 | omap3_per_restore_context(); |
461 | omap_uart_resume_idle(2); | 462 | omap_uart_resume_idle(2); |
463 | omap_uart_resume_idle(3); | ||
462 | } | 464 | } |
463 | 465 | ||
464 | /* Disable IO-PAD and IO-CHAIN wakeup */ | 466 | /* Disable IO-PAD and IO-CHAIN wakeup */ |