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

2017-06-19 Thread Bastien Nocera
Hey, Sorry I took this long to look into this. On Thu, 2017-03-30 at 15:33 +0200, Paul Cercueil wrote: > The Goodix panel triggers an interrupt on touch events. However, its > registers will contain the valid values a short time after the > interrupt, and not when it's raised. At that moment, the

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

2017-03-31 Thread Paul Cercueil
Hi, Le 2017-03-31 00:48, Dmitry Torokhov a écrit : On Thu, Mar 30, 2017 at 03:33:49PM +0200, Paul Cercueil wrote: The Goodix panel triggers an interrupt on touch events. However, its registers will contain the valid values a short time after the interrupt, and not when it's raised. At that mome

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

2017-03-30 Thread Dmitry Torokhov
On Thu, Mar 30, 2017 at 03:33:49PM +0200, Paul Cercueil wrote: > The Goodix panel triggers an interrupt on touch events. However, its > registers will contain the valid values a short time after the > interrupt, and not when it's raised. At that moment, the 'buffer status' > bit is set. Yay for aw

[PATCH] input: goodix: Poll the 'buffer status' bit before reading data

2017-03-30 Thread Paul Cercueil
The Goodix panel triggers an interrupt on touch events. However, its registers will contain the valid values a short time after the interrupt, and not when it's raised. At that moment, the 'buffer status' bit is set. Previously, if the 'buffer status' bit was not set when the registers were read,