diff options
Diffstat (limited to 'kernel/power/hibernate.c')
-rw-r--r-- | kernel/power/hibernate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c index ea12c8f1bdfd..1c53f7fad5f7 100644 --- a/kernel/power/hibernate.c +++ b/kernel/power/hibernate.c | |||
@@ -657,6 +657,9 @@ int hibernate(void) | |||
657 | flags |= SF_PLATFORM_MODE; | 657 | flags |= SF_PLATFORM_MODE; |
658 | if (nocompress) | 658 | if (nocompress) |
659 | flags |= SF_NOCOMPRESS_MODE; | 659 | flags |= SF_NOCOMPRESS_MODE; |
660 | else | ||
661 | flags |= SF_CRC32_MODE; | ||
662 | |||
660 | pr_debug("PM: writing image.\n"); | 663 | pr_debug("PM: writing image.\n"); |
661 | error = swsusp_write(flags); | 664 | error = swsusp_write(flags); |
662 | swsusp_free(); | 665 | swsusp_free(); |