]> git.kernelconcepts.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:18:28 +0000 (13:18 -0800)
commite097213a658d3eda65f8cf1a6851eb4e4b6a10b9
treee6fd1e8d82be37f3becc0265e5775c4bae0d6874
parentc1f904197f775a3e88486e64d2802a142bbdfd0a
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