summaryrefslogtreecommitdiff
path: root/drivers/base/power
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2011-06-29 13:43:12 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:38:44 -0800
commitf9b7a5f58ac563fc8d6a90aade0be0f473acb513 (patch)
tree37fed853580ca21e3fc2d048097bf77b572b5904 /drivers/base/power
parentc276108fd17c700a067e01c58063e7ad4c41dcef (diff)
Revert "PM: Prevent waiting forever on asynchronous resume after abort"
This reverts commit fa92a3d6959546baa27e892188d3e9bb79c31741.
Diffstat (limited to 'drivers/base/power')
-rw-r--r--drivers/base/power/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
index 13518a1067d5..7b4b78a6e82e 100644
--- a/drivers/base/power/main.c
+++ b/drivers/base/power/main.c
@@ -517,8 +517,7 @@ static int device_resume(struct device *dev, pm_message_t state, bool async)
TRACE_DEVICE(dev);
TRACE_RESUME(0);
- if (dev->parent && dev->parent->power.status >= DPM_OFF)
- dpm_wait(dev->parent, async);
+ dpm_wait(dev->parent, async);
device_lock(dev);
/*