linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 09/13 v3] OMAP3: PM: Add prepare idle and resume idle call for uart4
@ 2010-09-27 14:50 Govindraj.R
  0 siblings, 0 replies; only message in thread
From: Govindraj.R @ 2010-09-27 14:50 UTC (permalink / raw)
  To: linux-omap; +Cc: linux-arm-kernel, linux-serial, Kevin Hilman, Tony Lindgren

Add prepare idle and resume idle call for uart4 used by 3630.

Cc: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
---
 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 043faaa..60baffa 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 */
-- 
1.6.3.3



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-27 14:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-27 14:50 [PATCH 09/13 v3] OMAP3: PM: Add prepare idle and resume idle call for uart4 Govindraj.R

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).