diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-11-04 12:35:25 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-11-04 13:06:35 +0100 |
commit | fddd53261219902e3a446030d175e65bea090380 (patch) | |
tree | 234430f7823e086c071099338d8e996233064c22 | |
parent | 6aa07b82027fa071ebcecf5fe03ecaeca7ec39b2 (diff) | |
download | upstream-fddd53261219902e3a446030d175e65bea090380.tar.gz upstream-fddd53261219902e3a446030d175e65bea090380.tar.bz2 upstream-fddd53261219902e3a446030d175e65bea090380.zip |
ipq806x: fix a kconfig issue
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r-- | target/linux/ipq806x/patches-4.4/030-ARM-qcom-select-ARM_CPU_SUSPEND-for-power-management.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/ipq806x/patches-4.4/030-ARM-qcom-select-ARM_CPU_SUSPEND-for-power-management.patch b/target/linux/ipq806x/patches-4.4/030-ARM-qcom-select-ARM_CPU_SUSPEND-for-power-management.patch new file mode 100644 index 0000000000..cb2d303973 --- /dev/null +++ b/target/linux/ipq806x/patches-4.4/030-ARM-qcom-select-ARM_CPU_SUSPEND-for-power-management.patch @@ -0,0 +1,30 @@ +From: Arnd Bergmann <arnd@arndb.de> +Date: Tue, 24 Nov 2015 23:13:09 +0100 +Subject: [PATCH] ARM: qcom: select ARM_CPU_SUSPEND for power management + +The qcom spm driver uses cpu_resume_arm(), which is not included +in the kernel in all configurations: + +drivers/built-in.o: In function `qcom_cpu_spc': +:(.text+0xbc022): undefined reference to `cpu_suspend' +drivers/built-in.o: In function `qcom_cpuidle_init': +:(.init.text+0x610c): undefined reference to `cpu_resume_arm' + +This adds a 'select' Kconfig statement to ensure it's always +enabled. + +Signed-off-by: Arnd Bergmann <arnd@arndb.de> +Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> +Signed-off-by: Andy Gross <agross@codeaurora.org> +--- + +--- a/drivers/soc/qcom/Kconfig ++++ b/drivers/soc/qcom/Kconfig +@@ -13,6 +13,7 @@ config QCOM_GSBI + config QCOM_PM + bool "Qualcomm Power Management" + depends on ARCH_QCOM && !ARM64 ++ select ARM_CPU_SUSPEND + select QCOM_SCM + help + QCOM Platform specific power driver to manage cores and L2 low power |