input: touchscreen: nt36xxx: Use disable/enable irq wake in LA to LE
Touch uses gpio as irq in LA. As per latest change from pinctrl,
wakeup bit is disabled/enabled when disable_irq/enable_irq is called.
During transtion from LA to LE, disable_irq is called leading to
wakeup bit getting disabled and in LE Touch interrupts does not come.
So, use disable_irq_wake to disable Touch interrupts while transition
from LA to LE and use enable_irq_wake to enable back Touch interrupts
while transition from LE to LA.
Change-Id: Iad3391af40535d51daeef881c3d62b3ec893fff2
Signed-off-by:
Ritesh Kumar <riteshk@codeaurora.org>
Loading
Please register or sign in to comment