summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin Xie <xxie@nvidia.com>2011-08-31 13:18:40 -0700
committerVarun Colbert <vcolbert@nvidia.com>2011-09-02 18:05:25 -0700
commitacb275bcd7f0076d98a1862722f16af0caef90e4 (patch)
tree16f1d69bb08e7affc20e6674da4289ccd5f1d0bd
parentd319d9980b6b225735ac97160fdee18fbabba2f0 (diff)
Revert "power: delay early_suspend for 1s"
BUG 867296 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>
-rw-r--r--kernel/power/earlysuspend.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/power/earlysuspend.c b/kernel/power/earlysuspend.c
index 239f1da6e59f..84bed51dcdce 100644
--- a/kernel/power/earlysuspend.c
+++ b/kernel/power/earlysuspend.c
@@ -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"
@@ -94,7 +93,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)
pos->suspend(pos);