diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-03-13 11:42:48 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-03-21 13:26:21 -0400 |
commit | af960151efc1ccc7d7259f8795156356a8bee3d3 (patch) | |
tree | ab4f9f1918664e3df53a56a06bfedee1220ecf22 /arch/arm/plat-samsung | |
parent | 0443a653982942da4237b8344027bbb86e4b83a1 (diff) |
ARM: samsung: fix SAMSUNG_PM_DEBUG Kconfig logic
The suspend debug code for Samsung has multiple dependencies
that we should not unconditionally enable. In particular,
we rely on the DEBUG_S3C_UART setting, which in turn depends
on the samsung UART driver.
Signed-off-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Cc: Tomasz Figa <tomasz.figa@gmail.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r-- | arch/arm/plat-samsung/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 58645a58d0d8..26ff15c130ff 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig | |||
@@ -427,8 +427,7 @@ comment "Power management" | |||
427 | 427 | ||
428 | config SAMSUNG_PM_DEBUG | 428 | config SAMSUNG_PM_DEBUG |
429 | bool "S3C2410 PM Suspend debug" | 429 | bool "S3C2410 PM Suspend debug" |
430 | depends on PM | 430 | depends on PM && DEBUG_KERNEL && DEBUG_S3C_UART |
431 | select DEBUG_LL | ||
432 | help | 431 | help |
433 | Say Y here if you want verbose debugging from the PM Suspend and | 432 | Say Y here if you want verbose debugging from the PM Suspend and |
434 | Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> | 433 | Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> |