]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Nov 2012 21:15:55 +0000 (13:15 -0800)
commit180bed351c02841004ee1c9d45a7efb1e207acf1
treea1f56eb8a323aac1ee47ec775c61ff6cbbbded63
parentda205c80275a7f7a90c2baab423783c55c406878
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/touchscreen/tsc40.c