aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDaniel Mack <[email protected]>2019-05-06 20:03:46 -0700
committerDmitry Torokhov <[email protected]>2019-05-15 16:29:14 -0700
commitb283d0c353dee57869bdff59e0f01500f1316411 (patch)
treef7d02c0a5a2e4a9aafae611f9c382de25ba3ef8c /scripts/gdb/linux/utils.py
parent7f7a0208369ff2cc5590acb9b1388e3d1ade98e9 (diff)
Input: eeti_ts - read hardware state once after wakeup
For systems in which the touch IRQ is acting as wakeup source, and that do not support level-driven interrupts, the interrupt controller might not latch the GPIO IRQ during sleep. In such cases, the interrupt will never occur again after resume, hence the touch screen appears dead. To fix this, check for the assertion of the attn gpio, and read form the controller once in the resume path to read the hardware status and to arm the IRQ again. Introduce a mutex to guard eeti_ts_read() against parallel invocations from different contexts. Signed-off-by: Daniel Mack <[email protected]> Reported-by: Sven Neumann <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions