public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: b.L: fix unmet dependency for CPU_PM
@ 2014-11-13  5:38 Pankaj Dubey
  2014-11-13 17:44 ` Nicolas Pitre
  0 siblings, 1 reply; 6+ messages in thread
From: Pankaj Dubey @ 2014-11-13  5:38 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel; +Cc: linux, nico, Pankaj Dubey

If BL_SWITCHER is enabled but SUSPEND and CPU_IDLE is not enabled
we are getting following config warning.

warning: (BL_SWITCHER) selects CPU_PM which has unmet direct
dependencies (SUSPEND || CPU_IDLE)

So BL_SWITCHER should enable CPU_PM only if either of SUSPEND or
CPU_IDLE is selected.

Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
---
 arch/arm/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 9d580d0..fe3d969 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1417,7 +1417,7 @@ config BL_SWITCHER
 	bool "big.LITTLE switcher support"
 	depends on BIG_LITTLE && MCPM && HOTPLUG_CPU
 	select ARM_CPU_SUSPEND
-	select CPU_PM
+	select CPU_PM if (SUSPEND || CPU_IDLE)
 	help
 	  The big.LITTLE "switcher" provides the core functionality to
 	  transparently handle transition between a cluster of A15's
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-11-14 22:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-13  5:38 [PATCH] ARM: b.L: fix unmet dependency for CPU_PM Pankaj Dubey
2014-11-13 17:44 ` Nicolas Pitre
2014-11-13 17:48   ` Russell King - ARM Linux
2014-11-13 18:00     ` Nicolas Pitre
2014-11-14  6:10       ` Pankaj Dubey
2014-11-14 22:06         ` Colin Cross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox