]> 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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 May 2011 22:55:08 +0000 (15:55 -0700)
commit276c429b5d327039be1215df8632ca959d1c8e6a
tree4ba8ac2437d53e706b294f5913d96bf0c3c5a0be
parent1747aac65b0851691c43f3aa70b0e9388b96b107
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>
[bwh: Adjust for 2.6.32]
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/input/mouse/elantech.c
drivers/input/mouse/elantech.h