diff options
author | Xin Xie <xxie@nvidia.com> | 2011-08-31 13:18:40 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:52:25 -0800 |
commit | 1fcb02927329c3c2fe1eb32bbfaba732906a3001 (patch) | |
tree | 1bf54c3f30429ac82472b1e2663bd645d2792166 /kernel/power | |
parent | b3ba2cc5db3513e339db454bead9d85017f7b19f (diff) |
Revert "power: delay early_suspend for 1s"
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
Diffstat (limited to 'kernel/power')
-rw-r--r-- | kernel/power/earlysuspend.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/power/earlysuspend.c b/kernel/power/earlysuspend.c index 9baa87ddd818..b15f02eba45c 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" @@ -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) |