]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Input: elantech - ignore high bits in the position coordinates
authorFlorian Ragwitz <rafl@debian.org>
Tue, 4 May 2010 06:29:37 +0000 (23:29 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 May 2011 22:55:06 +0000 (15:55 -0700)
commit6883f580885d52941e03187f2099ac24d2564140
treefccc22937697596c5a2a64ab9bf86ffa235fbdbb
parentc96981dd2142894169d3fc5921fe7fb51d6a95a0
Input: elantech - ignore high bits in the position coordinates

commit e938fbfd4a7ac829d48b767c4dc365535d5c4f97 upstream.

In older versions of the elantech hardware/firmware those bits always
were unset, so it didn't actually matter, but newer versions seem to
use those high bits for something else, screwing up the coordinates
we report to the input layer for those devices.

Signed-off-by: Florian Ragwitz <rafl@debian.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/input/mouse/elantech.c