mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
input: touchscreen: cyttsp5: stay awake in irq_handler process
Signed-off-by: Weixin Zhou <zwx@rock-chips.com> Change-Id: I4761fa76f6cd0219582d579167f0288b7a28f73c
This commit is contained in:
@@ -4078,10 +4078,14 @@ static irqreturn_t cyttsp5_irq(int irq, void *handle)
|
||||
if (!cyttsp5_check_irq_asserted(cd))
|
||||
return IRQ_HANDLED;
|
||||
|
||||
pm_stay_awake(cd->dev);
|
||||
|
||||
rc = cyttsp5_read_input(cd);
|
||||
if (!rc)
|
||||
cyttsp5_parse_input(cd);
|
||||
|
||||
pm_relax(cd->dev);
|
||||
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user