Explorar el Código

touch: Add the IRQF_NO_SUSPEND flag

Add the IRQF_NO_SUSPEND flag in requested_thread_irq().
Enable Touch_to_wake feature during RBSC mode.

Change-Id: I7999b521bd88f4b92341eaa07ba6ed7a2d692132
Signed-off-by: Surya Teja Kudiri <[email protected]>
Surya Teja Kudiri hace 2 años
padre
commit
7e6fdfcf0e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pt/pt_platform.c

+ 1 - 1
pt/pt_platform.c

@@ -1039,7 +1039,7 @@ int pt_setup_irq(struct pt_core_platform_data *pdata, int on,
 			/* use edge triggered interrupts */
 			irq_flags = IRQF_TRIGGER_FALLING;
 		rc = request_threaded_irq(cd->irq, NULL, pt_irq,
-			irq_flags | IRQF_ONESHOT, dev_name(dev), cd);
+			irq_flags | IRQF_ONESHOT | IRQF_NO_SUSPEND, dev_name(dev), cd);
 		if (rc < 0)
 			pt_debug(dev, DL_ERROR,
 				"%s: Error, could not request irq\n", __func__);