diff options
author | Linus Walleij <[email protected]> | 2020-12-01 09:55:29 -0800 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2020-12-01 09:58:43 -0800 |
commit | 8c3b55a299c325830a987de21dab6a89ecb71164 (patch) | |
tree | 895d359aeb97a8c166d9c61c09ef9f81fe0e6bcd /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2aab1561439032be2e98811dd0ddbeb5b2ae4c61 (diff) |
Input: atmel_mxt_ts - fix lost interrupts
After commit 74d905d2d38a devices requiring the workaround for edge
triggered interrupts stopped working.
The hardware needs the quirk to be used before even proceeding to
check if the quirk is needed because mxt_acquire_irq() is called
before mxt_check_retrigen() is called and at this point pending IRQs
need to be checked, and if the workaround is not active, all
interrupts will be lost from this point.
Solve this by switching the calls around.
Reported-by: Andre Müller <[email protected]>
Tested-by: Andre Müller <[email protected]>
Suggested-by: Dmitry Torokhov <[email protected]>
Fixes: 74d905d2d38a ("Input: atmel_mxt_ts - only read messages in mxt_acquire_irq() when necessary")
Signed-off-by: Linus Walleij <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions