]> err.no Git - linux-2.6/commit
Input: ads7846 - detect pen up from GPIO state
authorImre Deak <imre.deak@solidboot.com>
Thu, 18 Jan 2007 05:45:43 +0000 (00:45 -0500)
committerDmitry Torokhov <dtor@insightbb.com>
Thu, 18 Jan 2007 05:45:43 +0000 (00:45 -0500)
commit15e3589e59c35ed33823dda3d38ad171222b83b4
tree11e2cad189b9fae914b497d360a65f80674b7042
parent7937e86a70235e1584486654687dc9908a11e00a
Input: ads7846 - detect pen up from GPIO state

We can't depend on the pressure value to determine when the pen was
lifted, so use the GPIO line state instead. This also helps with
chips (like ads7843) that don't have pressure sensors.

Signed-off-by: Imre Deak <imre.deak@solidboot.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/ads7846.c