summaryrefslogtreecommitdiffstats
path: root/main/linux-grsec/imx6q-no-unclocked-sleep.patch
blob: 0bf7bfff0c41fb07ce9c099c5cf57223b6bf161a (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;
-		imx6q_set_lpm(WAIT_UNCLOCKED);
+		//imx6q_set_lpm(WAIT_UNCLOCKED);
 		cpu_do_idle();
 		imx6q_set_lpm(WAIT_CLOCKED);
 		spin_unlock(&master_lock);