summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm34xx.c
diff options
context:
space:
mode:
authorGovindraj.R2010-09-27 16:50:32 +0200
committerKevin Hilman2010-09-29 21:43:01 +0200
commitcd4f1faee029593fc10039aeb592dc2986d55f61 (patch)
treee077d55745d6406f2b23b2f5685b92cb1562af0f /arch/arm/mach-omap2/pm34xx.c
parentOMAP3: PRCM: Consider UART4 for 3630 chip in prcm_setup_regs (diff)
downloadkernel-qcow2-linux-cd4f1faee029593fc10039aeb592dc2986d55f61.tar.gz
kernel-qcow2-linux-cd4f1faee029593fc10039aeb592dc2986d55f61.tar.xz
kernel-qcow2-linux-cd4f1faee029593fc10039aeb592dc2986d55f61.zip
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.c2
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)
/* PER */
if (per_next_state < PWRDM_POWER_ON) {
omap_uart_prepare_idle(2);
+ omap_uart_prepare_idle(3);
omap2_gpio_prepare_for_idle(per_next_state);
if (per_next_state == PWRDM_POWER_OFF)
omap3_per_save_context();
@@ -459,6 +460,7 @@ void omap_sram_idle(void)
if (per_prev_state == PWRDM_POWER_OFF)
omap3_per_restore_context();
omap_uart_resume_idle(2);
+ omap_uart_resume_idle(3);
}
/* Disable IO-PAD and IO-CHAIN wakeup */