aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2014-10-15 02:31:13 -0400
committerOlof Johansson <olof@lixom.net>2014-10-15 02:31:13 -0400
commite17fd8e58a1eb39e23f29da065ccc1498f022ed7 (patch)
tree4ab0b1ad5f6b32d16cab7e0fd0005035ee9d1fbe
parent6d81dc87c0fac76efabcde6884fcbe4cec874a83 (diff)
parentf6f1ae82bd288bceed5a93594a8a081845f11b41 (diff)
Merge tag 'samsung-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into fixes
Merge "Samsung fixes for v3.18" from Kukjin Kim: - fix ifdef around cpu_*_do_[suspend, resume] ops to check CONFIG_ARM_CPU_SUSPEND and not CONFIG_PM_SLEEP - fix exynos_defconfig build with PM_SLEEP=n and ARM_EXYNOS_CPUIDLE=n - fix enabling Samsung PM debug functionality due to recently merged patches and previous merge conflicts - fix pull-up setting in sd4_width8 pin group for exynos4x12 * tag 'samsung-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung: ARM: mm: Fix ifdef around cpu_*_do_[suspend, resume] ops ARM: EXYNOS: Fix build with PM_SLEEP=n and ARM_EXYNOS_CPUIDLE=n ARM: SAMSUNG: Restore Samsung PM Debug functionality ARM: dts: Fix pull setting in sd4_width8 pin group for exynos4x12 Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r--arch/arm/boot/dts/exynos4x12-pinctrl.dtsi2
-rw-r--r--arch/arm/mach-exynos/exynos.c2
-rw-r--r--arch/arm/mm/proc-macros.S2
-rw-r--r--arch/arm/plat-samsung/Kconfig5
-rw-r--r--arch/arm/plat-samsung/pm-debug.c1
5 files changed, 8 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/exynos4x12-pinctrl.dtsi b/arch/arm/boot/dts/exynos4x12-pinctrl.dtsi
index 99b26df8dbc7..0865a2e33f97 100644
--- a/arch/arm/boot/dts/exynos4x12-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos4x12-pinctrl.dtsi
@@ -675,7 +675,7 @@
675 sd4_bus8: sd4-bus-width8 { 675 sd4_bus8: sd4-bus-width8 {
676 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6"; 676 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
677 samsung,pin-function = <4>; 677 samsung,pin-function = <4>;
678 samsung,pin-pud = <4>; 678 samsung,pin-pud = <3>;
679 samsung,pin-drv = <3>; 679 samsung,pin-drv = <3>;
680 }; 680 };
681 681
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c
index b89e5f35db84..6b283eb3202e 100644
--- a/arch/arm/mach-exynos/exynos.c
+++ b/arch/arm/mach-exynos/exynos.c
@@ -161,7 +161,9 @@ static void exynos_restart(enum reboot_mode mode, const char *cmd)
161 161
162static struct platform_device exynos_cpuidle = { 162static struct platform_device exynos_cpuidle = {
163 .name = "exynos_cpuidle", 163 .name = "exynos_cpuidle",
164#ifdef CONFIG_ARM_EXYNOS_CPUIDLE
164 .dev.platform_data = exynos_enter_aftr, 165 .dev.platform_data = exynos_enter_aftr,
166#endif
165 .id = -1, 167 .id = -1,
166}; 168};
167 169
diff --git a/arch/arm/mm/proc-macros.S b/arch/arm/mm/proc-macros.S
index ee1d80593958..ba1196c968d8 100644
--- a/arch/arm/mm/proc-macros.S
+++ b/arch/arm/mm/proc-macros.S
@@ -279,7 +279,7 @@ ENTRY(\name\()_processor_functions)
279 279
280 .if \suspend 280 .if \suspend
281 .word cpu_\name\()_suspend_size 281 .word cpu_\name\()_suspend_size
282#ifdef CONFIG_PM_SLEEP 282#ifdef CONFIG_ARM_CPU_SUSPEND
283 .word cpu_\name\()_do_suspend 283 .word cpu_\name\()_do_suspend
284 .word cpu_\name\()_do_resume 284 .word cpu_\name\()_do_resume
285#else 285#else
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig
index c87aefbf3a13..9bd2776e7d05 100644
--- a/arch/arm/plat-samsung/Kconfig
+++ b/arch/arm/plat-samsung/Kconfig
@@ -268,8 +268,9 @@ config S5P_DEV_MFC
268comment "Power management" 268comment "Power management"
269 269
270config SAMSUNG_PM_DEBUG 270config SAMSUNG_PM_DEBUG
271 bool "S3C2410 PM Suspend debug" 271 bool "Samsung PM Suspend debug"
272 depends on PM && DEBUG_KERNEL && DEBUG_S3C_UART 272 depends on PM && DEBUG_KERNEL
273 depends on DEBUG_EXYNOS_UART || DEBUG_S3C24XX_UART || DEBUG_S3C2410_UART
273 help 274 help
274 Say Y here if you want verbose debugging from the PM Suspend and 275 Say Y here if you want verbose debugging from the PM Suspend and
275 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> 276 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
diff --git a/arch/arm/plat-samsung/pm-debug.c b/arch/arm/plat-samsung/pm-debug.c
index 8f19f66388dd..39609601f407 100644
--- a/arch/arm/plat-samsung/pm-debug.c
+++ b/arch/arm/plat-samsung/pm-debug.c
@@ -14,6 +14,7 @@
14 */ 14 */
15 15
16#include <linux/serial_core.h> 16#include <linux/serial_core.h>
17#include <linux/serial_s3c.h>
17#include <linux/io.h> 18#include <linux/io.h>
18 19
19#include <asm/mach/map.h> 20#include <asm/mach/map.h>