]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 14 Mar 2012 14:57:33 +0000 (10:57 -0400)
commite83ff3dd0768d28aa2b5d91393b37e2fa0d17bdc
treede5e3a1951a47613fbeda340b6c7e080436e7358
parent94a22b2f32a57ead40fb08f5d9de9e0f341710db
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: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/input/mouse/elantech.c
drivers/input/mouse/elantech.h