Re: [PATCH v2] Input: touchscreen: ads7846.c: Fix race that causes missing releases

From
Oleksij Rempel <o.rempel@pengutronix.de>
Date
2020-11-12 11:50:24
Also in
lkml
Reply to
Dmitry Torokhov, 2020-11-11
On Wed, Nov 11, 2020 at 11:07:40AM -0800, Dmitry Torokhov wrote:
Hi Oleksij,

On Tue, Oct 27, 2020 at 11:54:16AM +0100, Oleksij Rempel wrote:
quoted
From: David Jander <redacted>

If touchscreen is released while busy reading HWMON device, the release
can be missed. The IRQ thread is not started because no touch is active
and BTN_TOUCH release event is never sent.

Fixes: f5a28a7d4858f94a ("Input: ads7846 - avoid pen up/down when reading hwmon")
Co-Developed-by: David Jander <redacted>
Since the patch is nominally attributed to David (via the From: tag)
I'll be changing Co-developed-by tag to your name, OK?
OK.
quoted
Signed-off-by: David Jander <redacted>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Regards,
Oleksij

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
Thread (5 messages) 5 messages, 2 authors, last reply 2020-11-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help