OSDN Git Service

ARM: samsung: Limit SAMSUNG_PM_DEBUG config option to non-Exynos platforms
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Wed, 14 Nov 2018 15:30:58 +0000 (16:30 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Sun, 18 Nov 2018 14:11:27 +0000 (15:11 +0100)
commitb1658855f08754dc685bd75d12f0b5b0e2925f3f
tree6ae411a2fb84cc77d5889b57e5200013d8ecb0e2
parent7b981b18a48bdf346b5cdb286d45d1fb91da056f
ARM: samsung: Limit SAMSUNG_PM_DEBUG config option to non-Exynos platforms

"Samsung PM Suspend debug" feature (controlled by SAMSUNG_PM_DEBUG
config option) is not working properly (debug messages are not
displayed after resume) on Exynos platforms because GPIOs restore
code is not implemented.

Add PLAT_S3C24XX, ARCH_S3C64XX and ARCH_S5PV210 dependencies to
SAMSUNG_PM_DEBUG config option to hide it on Exynos platforms.
Then convert Exynos code to not require <plat/pm-common.h>
header (use pr_debug() directly instead of S3C_PMDBG() macro and
remove redundant s3c_pm_*() calls).

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/mach-exynos/suspend.c
arch/arm/plat-samsung/Kconfig