diff options
Diffstat (limited to 'kernel/power')
-rw-r--r-- | kernel/power/hibernate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c index bc13d087ea14..37170d4dd9a6 100644 --- a/kernel/power/hibernate.c +++ b/kernel/power/hibernate.c | |||
@@ -294,10 +294,10 @@ static int create_image(int platform_mode) | |||
294 | error); | 294 | error); |
295 | /* Restore control flow magically appears here */ | 295 | /* Restore control flow magically appears here */ |
296 | restore_processor_state(); | 296 | restore_processor_state(); |
297 | if (!in_suspend) { | 297 | if (!in_suspend) |
298 | events_check_enabled = false; | 298 | events_check_enabled = false; |
299 | platform_leave(platform_mode); | 299 | |
300 | } | 300 | platform_leave(platform_mode); |
301 | 301 | ||
302 | Power_up: | 302 | Power_up: |
303 | syscore_resume(); | 303 | syscore_resume(); |