Revert "power: delay early_suspend for 1s"
Xin Xie [Wed, 31 Aug 2011 20:18:40 +0000 (13:18 -0700)]
BUG 867296

Original-Change-Id: I0bce8d7f8ccba39608b1d00449de9d2e988ee541
Reviewed-on: http://git-master/r/50140
Reviewed-by: Xin Xie <xxie@nvidia.com>
Tested-by: Xin Xie <xxie@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R729f20c7f15b09fbd90295b0ec1ea03ccbeb9ca5

kernel/power/earlysuspend.c

index 9baa87d..b15f02e 100644 (file)
@@ -20,7 +20,6 @@
 #include <linux/syscalls.h> /* sys_sync */
 #include <linux/wakelock.h>
 #include <linux/workqueue.h>
-#include <linux/delay.h>
 
 #include "power.h"
 
@@ -95,7 +94,6 @@ static void early_suspend(struct work_struct *work)
 
        if (debug_mask & DEBUG_SUSPEND)
                pr_info("early_suspend: call handlers\n");
-       msleep(1000);
        list_for_each_entry(pos, &early_suspend_handlers, link) {
                if (pos->suspend != NULL) {
                        if (debug_mask & DEBUG_VERBOSE)