summaryrefslogtreecommitdiff
path: root/kernel/power
diff options
context:
space:
mode:
authorl1rox3 <l1rox3.developer@gmail.com>2026-05-20 10:12:54 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-05-26 13:42:17 +0200
commit2068d7715e947f0321bc676a44215d3983af4bbc (patch)
treee38291eb44bf038ce594b35ccc0caf3aff5a2b22 /kernel/power
parent3855941f1e4069182c895d5093c5fa589f5b38bd (diff)
PM: hibernate: make LZ4 available for hibernation compression
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>
Diffstat (limited to 'kernel/power')
-rw-r--r--kernel/power/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 05337f437cca..530c897311d4 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -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