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

From: Bastien Nocera
Date: Fri May 01 2015 - 10:14:05 EST


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