aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/power/disk.c')
-rw-r--r--kernel/power/disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/disk.c b/kernel/power/disk.c
index 126dda61f45d..6180379d5b84 100644
--- a/kernel/power/disk.c
+++ b/kernel/power/disk.c
@@ -151,7 +151,7 @@ int pm_suspend_disk(void)
151 return error; 151 return error;
152 152
153 if (pm_disk_mode == PM_DISK_TESTPROC) 153 if (pm_disk_mode == PM_DISK_TESTPROC)
154 goto Thaw; 154 return 0;
155 155
156 suspend_console(); 156 suspend_console();
157 error = device_suspend(PMSG_FREEZE); 157 error = device_suspend(PMSG_FREEZE);