summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/suspend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/suspend.c b/kernel/suspend.c
index f11214bb9a67..67f26e26d594 100644
--- a/kernel/suspend.c
+++ b/kernel/suspend.c
@@ -619,8 +619,8 @@ static void free_some_memory(void)
/* Make disk drivers accept operations, again */
static void drivers_unsuspend(void)
{
- device_resume(RESUME_ENABLE);
device_resume(RESUME_RESTORE_STATE);
+ device_resume(RESUME_ENABLE);
}
/* Called from process context */
@@ -647,8 +647,8 @@ static int drivers_suspend(void)
static void drivers_resume(int flags)
{
if (flags & RESUME_PHASE1) {
- device_resume(RESUME_ENABLE);
device_resume(RESUME_RESTORE_STATE);
+ device_resume(RESUME_ENABLE);
}
if (flags & RESUME_PHASE2) {
if(pm_suspend_state) {