From: Paul Cercueil Date: Wed, 6 May 2015 23:52:13 +0000 (-0700) Subject: Input: goodix - check the 'buffer status' bit before reading data X-Git-Tag: omap-for-v4.3/legacy-v2-signed~159^2^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f6f117c12a3fb25ecadd6dfcdd1a3a431269ade;p=pandora-kernel.git Input: goodix - check the 'buffer status' bit before reading data 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 Acked-by: Bastien Nocera Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed