aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-virt-grsec/imx6q-no-unclocked-sleep.patch
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2014-06-18 12:39:55 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2014-06-18 12:39:55 +0000
commit4b9bdd091433922a764989985def78f4a312993a (patch)
treeca02316d686f26ea5476e8feb8721ee0d97b237d /main/linux-virt-grsec/imx6q-no-unclocked-sleep.patch
parent11947fab000ee4ba99050410d9857293ec162c50 (diff)
downloadaports-4b9bdd091433922a764989985def78f4a312993a.tar.bz2
aports-4b9bdd091433922a764989985def78f4a312993a.tar.xz
main/linux-virt-grsec: upgrade to 3.14.6
Diffstat (limited to 'main/linux-virt-grsec/imx6q-no-unclocked-sleep.patch')
-rw-r--r--main/linux-virt-grsec/imx6q-no-unclocked-sleep.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/main/linux-virt-grsec/imx6q-no-unclocked-sleep.patch b/main/linux-virt-grsec/imx6q-no-unclocked-sleep.patch
new file mode 100644
index 0000000000..0bf7bfff0c
--- /dev/null
+++ b/main/linux-virt-grsec/imx6q-no-unclocked-sleep.patch
@@ -0,0 +1,16 @@
+The FEC NIC IRQ line does not wake up from unclocked sleep. Disable
+unclocked sleep for now (bad for battery - good for performance).
+
+diff --git a/arch/arm/mach-imx/cpuidle-imx6q.c b/arch/arm/mach-imx/cpuidle-imx6q.c
+index 23ddfb6..c1ae29f 100644
+--- a/arch/arm/mach-imx/cpuidle-imx6q.c
++++ b/arch/arm/mach-imx/cpuidle-imx6q.c
+@@ -27,7 +27,7 @@ static int imx6q_enter_wait(struct cpuidle_device *dev,
+ */
+ if (!spin_trylock(&master_lock))
+ goto idle;
+- imx6q_set_lpm(WAIT_UNCLOCKED);
++ //imx6q_set_lpm(WAIT_UNCLOCKED);
+ cpu_do_idle();
+ imx6q_set_lpm(WAIT_CLOCKED);
+ spin_unlock(&master_lock);