Re: [PATCH v2] input: goodix: Check the 'buffer status' bit before reading data

From: Dmitry Torokhov
Date: Wed May 06 2015 - 19:54:18 EST


On Fri, May 01, 2015 at 04:13:55PM +0200, Bastien Nocera wrote:
> On Fri, 2015-05-01 at 14:40 +0200, Paul Cercueil wrote:
> > The MSB of the first byte read via I2C at the coordinates address
> > indicates whether the data is valid or ready (called "buffer status"
> > in
> > the datasheets) when an interrupt is raised. Previously, this bit was
> > ignored, which resulted in a lot of incorrect detections of "finger
> > removed" events.
> >
> > Signed-off-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
>
> Signed-off-by: Bastien Nocera <hadess@xxxxxxxxxx>

Applied, thank you.

--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/