mirror of
https://github.com/torvalds/linux.git
synced 2026-06-10 07:32:29 +02:00
Revert "PM: Wait for completion of the parent resume before resuming"
This reverts commit a0f07aae54.
This commit is contained in:
parent
c797ca58ff
commit
a88985f2b5
|
|
@ -515,7 +515,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.in_suspend)
|
||||
if (dev->parent && dev->parent->power.status >= DPM_OFF)
|
||||
dpm_wait(dev->parent, async);
|
||||
device_lock(dev);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user