]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Input: tsc40 - remove wrong announcement of pressure support
authorRolf Eike Beer <eike-kernel@sf-tec.de>
Wed, 31 Oct 2012 06:39:10 +0000 (23:39 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 16 Nov 2012 16:47:02 +0000 (16:47 +0000)
commit8074390b8da38ff0693f6119b2c72adc7cfdc891
tree83b689f70df129a8883acdd20991a5b558dd3976
parent1d60939abd811d472171dfe714c3d25804fc2693
Input: tsc40 - remove wrong announcement of pressure support

commit 32ed1911fc79908d704023317d4ddeb3883fd07e upstream.

The tsc40 driver announces it supports the pressure event, but will never
send one. The announcement will cause tslib to wait for such events and
sending all touch events with a pressure of 0. Removing the announcement
will make tslib fall back to emulating the pressure on touch events so
everything works as expected.

Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/input/touchscreen/tsc40.c