diff mbox series

[2/3] MIPS: select CPU_PM with SUSPEND

Message ID 20240507-loongson64-suspend-v1-2-534d92a4e09a@flygoat.com (mailing list archive)
State Accepted
Commit 2226d454db931455018521db13ab763d276952a7
Headers show
Series MIPS: Loongson64: Implement PM suspend for LEFI firmware | expand

Commit Message

Jiaxun Yang May 7, 2024, 3:22 p.m. UTC
Functionalities provided by CPU_PM are essential for suspend
to work on all platforms.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
 arch/mips/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index f1aa1bf11166..c5753cb0953d 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -30,7 +30,7 @@  config MIPS
 	select BUILDTIME_TABLE_SORT
 	select CLONE_BACKWARDS
 	select CPU_NO_EFFICIENT_FFS if (TARGET_ISA_REV < 1)
-	select CPU_PM if CPU_IDLE
+	select CPU_PM if CPU_IDLE || SUSPEND
 	select GENERIC_ATOMIC64 if !64BIT
 	select GENERIC_CMOS_UPDATE
 	select GENERIC_CPU_AUTOPROBE