# 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 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2020/11/6173833
- Thread: https://ratatoskr.run/linux-input/2020/10/6151276/t.md

```text
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:
> > 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.

> 
> > 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 |
```
