input: touchscreen: focaltech: 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: I288bfbd26be9ff1da1b7e14104f98338eb8d8715 Signed-off-by:Ritesh Kumar <riteshk@codeaurora.org> Signed-off-by:
Surya Teja Kudiri <quic_skudiri@quicinc.com>
Loading
Please register or sign in to comment