From 7bee90029d84945533fa232f7241f256169df456 Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Tue, 26 Aug 2008 19:16:13 -0400 Subject: OLPC: pm: don't mess with EC mask during suspend a) OHM handles this b) we weren't resetting stuff on resume, which meant the mask was incorrect. see #8010. Signed-off-by: Andres Salomon --- arch/x86/kernel/olpc-pm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/kernel/olpc-pm.c b/arch/x86/kernel/olpc-pm.c index aff66aa53bcb..acedefbba498 100644 --- a/arch/x86/kernel/olpc-pm.c +++ b/arch/x86/kernel/olpc-pm.c @@ -424,9 +424,6 @@ int olpc_fixup_sleep(void) gpio_wake_events &= ~(GPIO_WAKEUP_LID); } - /* We don't want to wake up on superfluous events */ - olpc_ec_mask_unset(EC_SCI_SRC_BATSOC | EC_SCI_SRC_ACPWR); - /* * Cmd 0x32 tells the EC that we're going into suspend; this was * added to work around hardware races related to SCI events. This -- cgit v1.2.3