]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
PM: hibernate: make LZ4 available for hibernation compression
authorl1rox3 <l1rox3.developer@gmail.com>
Wed, 20 May 2026 08:12:54 +0000 (10:12 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 26 May 2026 11:42:17 +0000 (13:42 +0200)
Without this, CRYPTO_LZ4 had to be manually enabled in the config
to use LZ4 for hibernation compression. Add the select so it gets
pulled in automatically when hibernation is enabled, just like
CRYPTO_LZO already does.

Tested-by: l1rox3 <l1rox3.developer@gmail.com>
Signed-off-by: l1rox3 <l1rox3.developer@gmail.com>
Link: https://patch.msgid.link/20260520081254.13493-1-l1rox3.developer@gmail.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/Kconfig

index 05337f437cca29da57864583166d7f9abd526507..530c897311d445518b570bd6f5fabe7916c8c8dc 100644 (file)
@@ -42,6 +42,7 @@ config HIBERNATION
        select CRC32
        select CRYPTO
        select CRYPTO_LZO
+       select CRYPTO_LZ4
        help
          Enable the suspend to disk (STD) functionality, which is usually
          called "hibernation" in user interfaces.  STD checkpoints the