aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-grsec/imx6q-no-unclocked-sleep.patch
blob: 0017856b751f15c3fd57f93d3e8a44fbc4c8f82e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;
-		imx6_set_lpm(WAIT_UNCLOCKED);
+		//imx6_set_lpm(WAIT_UNCLOCKED);
 		cpu_do_idle();
 		imx6_set_lpm(WAIT_CLOCKED);
 		spin_unlock(&master_lock);