]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Input: elantech - discard the first 2 positions on some firmwares
authorÉric Piel <eric.piel@tremplin-utc.net>
Fri, 6 Aug 2010 06:51:49 +0000 (23:51 -0700)
committerAndi Kleen <ak@linux.intel.com>
Mon, 1 Aug 2011 20:54:44 +0000 (13:54 -0700)
commit794680366c045e368ecbec6f1729745b4f5b00ad
treef9a6792aa971ad70d2abb477f42ccc396a1a3c7b
parentfa2d122182a496f3e43aaa595ed972341beff80a
Input: elantech - discard the first 2 positions on some firmwares

commit 7f29f17b57255b6395046805a98bc663ded63fb8 upstream.

According to the Dell/Ubuntu driver, what was previously observed as
"jumpy cursor" corresponds to the hardware sending incorrect data for
the first two reports of a one touch finger. So let's use the same
workaround as in the other driver. Also, detect another firmware
version with the same behaviour, as in the other driver.

Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
[bwh: Adjust for 2.6.32]
[ak: adjust for 2.6.35]
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/input/mouse/elantech.c
drivers/input/mouse/elantech.h