]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: samsung: fix SAMSUNG_PM_DEBUG Kconfig logic
authorArnd Bergmann <arnd@arndb.de>
Thu, 13 Mar 2014 15:42:48 +0000 (16:42 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 21 Mar 2014 17:26:21 +0000 (18:26 +0100)
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>
arch/arm/plat-samsung/Kconfig

index 58645a58d0d8823762aafa573ebc4dd9aba5f3cf..26ff15c130ffcdb8a0aa9a241d8c8a3f70d5731b 100644 (file)
@@ -427,8 +427,7 @@ comment "Power management"
 
 config SAMSUNG_PM_DEBUG
        bool "S3C2410 PM Suspend debug"
-       depends on PM
-       select DEBUG_LL
+       depends on PM && DEBUG_KERNEL && DEBUG_S3C_UART
        help
          Say Y here if you want verbose debugging from the PM Suspend and
          Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>