Input: wm9712 - fix wrong pen up readings
authorMarkus Pargmann <mpa@pengutronix.de>
Sat, 9 Mar 2013 23:21:33 +0000 (15:21 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 12 Mar 2013 15:50:20 +0000 (08:50 -0700)
commit540792753c292bce53f42eb7b8fb3d3510f57e00
tree2f715f6bd9fd7e3f1b88d554115fb134a2237f82
parentfa45255ee72649bd061116f7d3a765f5784bf078
Input: wm9712 - fix wrong pen up readings

Often a reading can be wrong. This patch assures that this is really a
pen up event and not a false reading.

Based on wm9712: pen up by Teresa Gámez and Christian Hemp.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/wm9712.c