diff options
Diffstat (limited to 'drivers/base/power/resume.c')
-rw-r--r-- | drivers/base/power/resume.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/base/power/resume.c b/drivers/base/power/resume.c index 99679e7a6cc6..0c9610688542 100644 --- a/drivers/base/power/resume.c +++ b/drivers/base/power/resume.c | |||
@@ -88,8 +88,7 @@ void dpm_resume(void) | |||
88 | list_move_tail(entry, &dpm_active); | 88 | list_move_tail(entry, &dpm_active); |
89 | 89 | ||
90 | mutex_unlock(&dpm_list_mtx); | 90 | mutex_unlock(&dpm_list_mtx); |
91 | if (!dev->power.prev_state.event) | 91 | resume_device(dev); |
92 | resume_device(dev); | ||
93 | mutex_lock(&dpm_list_mtx); | 92 | mutex_lock(&dpm_list_mtx); |
94 | put_device(dev); | 93 | put_device(dev); |
95 | } | 94 | } |