diff mbox

omap-pm: Console not suspending

Message ID B8DD0662-46C3-424F-A7EB-D077AE03BA62@mac.com (mailing list archive)
State Superseded
Delegated to: Kevin Hilman
Headers show

Commit Message

Elvis Dowson June 9, 2009, 7:53 p.m. UTC
Hi,
	I'm using the latest pm patches with android-2.6.29, and I have a new  
situation where the console tries to suspend, it tries to fade a bit,  
but then wakes up. On the console output, I see the following error  
message:

PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
pwrdm when mpu_pwrdm wakes up
wakeup wake lock: mmc_delayed_work
Spurious irq 95: 0xffffffdf, please flush posted write for irq 86
Spurious irq 95: 0xffffffdf, please flush posted write for irq 86
mmc1: mmc_rescan - card ocr from io_op=0x00000000, err = -110
PM: resume devices took 0.554 seconds
Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
done.
suspend: exit suspend, ret = 0 (2000-01-01 00:05:56.543487549 UTC)
PM: Syncing filesystems ... done.

Should these options be set?

# CONFIG_NO_USER_SPACE_SCREEN_ACCESS_CONTROL is not set
# CONFIG_CONSOLE_EARLYSUSPEND is not set

I have recently made some u-boot modifications to enable UART2. One of  
the changes removed GPIO_144 - LCD EN as shown below.

Will that have any effect?

iff --git a/board/omap3/overo/overo.h b/board/omap3/overo/overo.h
index b595f6a..5597910 100644
   MUX_VAL(CP(UART1_TX),		(IDIS | PTD | DIS | M0)) /*UART1_TX*/\
   MUX_VAL(CP(UART1_RTS),		(IEN  | PTU | DIS | M4)) /*GPIO_149*/ \
   MUX_VAL(CP(UART1_CTS),		(IEN  | PTU | DIS | M4)) /*GPIO_150- 
MMC3_WP*/\


Best regards,

Elvis


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- a/board/omap3/overo/overo.h
+++ b/board/omap3/overo/overo.h
@@ -213,14 +213,14 @@  const omap3_sysinfo sysinfo = {
   MUX_VAL(CP(MMC2_DAT6),		(IEN  | PTU | EN  | M1)) /*MMC2_DIR_CMD*/\
   MUX_VAL(CP(MMC2_DAT7),		(IEN  | PTU | EN  | M1)) /*MMC2_CLKIN*/\
   /*Bluetooth*/\
- MUX_VAL(CP(MCBSP3_DX),		(IEN  | PTD | DIS | M1)) /*UART2_CTS*/\
- MUX_VAL(CP(MCBSP3_DR),		(IDIS | PTD | DIS | M1)) /*UART2_RTS*/\
- MUX_VAL(CP(MCBSP3_CLKX),	(IDIS | PTD | DIS | M1)) /*UART2_TX*/\
- MUX_VAL(CP(MCBSP3_FSX),	(IEN  | PTD | DIS | M1)) /*UART2_RX*/\
- MUX_VAL(CP(UART2_CTS),		(IEN  | PTD | DIS | M4)) /*GPIO_144 -  
LCD_EN*/\
- MUX_VAL(CP(UART2_RTS),		(IEN  | PTD | DIS | M4)) /*GPIO_145*/\
- MUX_VAL(CP(UART2_TX),		(IEN  | PTD | DIS | M4)) /*GPIO_146*/\
- MUX_VAL(CP(UART2_RX),		(IEN  | PTD | DIS | M4)) /*GPIO_147*/\
+ MUX_VAL(CP(MCBSP3_DX),         (IDIS | PTD | DIS | M0)) /*McBSP3_DX*/\
+ MUX_VAL(CP(MCBSP3_DR),         (IEN  | PTD | DIS | M0)) /*McBSP3_DR*/\
+ MUX_VAL(CP(MCBSP3_CLKX),       (IEN  | PTD | DIS | M0)) / 
*McBSP3_CLKX*/\
+ MUX_VAL(CP(MCBSP3_FSX),        (IEN  | PTD | DIS | M0)) / 
*McBSP3_FSX*/\
+ MUX_VAL(CP(UART2_CTS),         (IEN  | PTU | EN  | M0)) /*UART2_CTS*/\
+ MUX_VAL(CP(UART2_RTS),         (IDIS | PTD | DIS | M0)) /*UART2_RTS*/\
+ MUX_VAL(CP(UART2_TX),          (IDIS | PTD | DIS | M0)) /*UART2_TX*/\
+ MUX_VAL(CP(UART2_RX),          (IEN  | PTD | DIS | M0)) /*UART2_RX*/\