Author: richard
Date: Mon Jun 8 13:01:38 2009
New Revision: 6036
URL: http://svn.slimdevices.com/jive?rev=6036&view=rev
Log:
Bug: N/A
Description:
Make sure the power button can wake up from sleep.
Modified:
7.3/trunk/squeezeos/src/s3c2412/linux-2.6.22/arch/arm/plat-s3c24xx/pm.c
Modified:
7.3/trunk/squeezeos/src/s3c2412/linux-2.6.22/arch/arm/plat-s3c24xx/pm.c
URL:
http://svn.slimdevices.com/jive/7.3/trunk/squeezeos/src/s3c2412/linux-2.6.22/arch/arm/plat-s3c24xx/pm.c?rev=6036&r1=6035&r2=6036&view=diff
==============================================================================
--- 7.3/trunk/squeezeos/src/s3c2412/linux-2.6.22/arch/arm/plat-s3c24xx/pm.c
(original)
+++ 7.3/trunk/squeezeos/src/s3c2412/linux-2.6.22/arch/arm/plat-s3c24xx/pm.c Mon
Jun 8 13:01:38 2009
@@ -120,6 +120,8 @@
SAVE_ITEM(S3C2410_DCLKCON),
};
+//#define CONFIG_S3C2410_PM_DEBUG
+
#ifdef CONFIG_S3C2410_PM_DEBUG
#define SAVE_UART(va) \
@@ -652,8 +654,8 @@
/* suspend */
s3c2410_pm_enter(state);
- /* only wake up on EINT4_7 and EINT8_23 */
-#define WAKEUP_MASK ((1 << 4) | (1 << 5))
+ /* only wake up on EINT3, EINT4_7 and EINT8_23 */
+#define WAKEUP_MASK ((1 << 3) | (1 << 4) | (1 << 5))
/* woken by rtc? */
eint_wakeup = ((__raw_readl(S3C2410_SRCPND) & WAKEUP_MASK) !=
0);
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins