Input: elantech - discard the first 2 positions on some firmwares
authorÉric Piel <E.A.B.Piel@tudelft.nl>
Fri, 6 Aug 2010 06:51:49 +0000 (23:51 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 6 Aug 2010 06:52:29 +0000 (23:52 -0700)
commit7f29f17b57255b6395046805a98bc663ded63fb8
tree0ec8e1a2164f6e2c458d47ce631ff1fdc8ed5a75
parent7be3c13425ddeed8427cfaad65c9123c2c8ca331
Input: elantech - discard the first 2 positions on some firmwares

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>
drivers/input/mouse/elantech.c
drivers/input/mouse/elantech.h