]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Input: elantech - relax signature checks
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 19 May 2010 17:11:13 +0000 (10:11 -0700)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 14 Mar 2012 14:57:32 +0000 (10:57 -0400)
commit94a22b2f32a57ead40fb08f5d9de9e0f341710db
tree3c463e85b71f78518e8e43a58d2df7199154510c
parenta181b8168362f5a3003647689ab300dd404170b5
Input: elantech - relax signature checks

commit a083632eaf6231162b33e40561cfec6a9c156945 upstream.

Apparently there are Elantech touchpads that report non-zero in the 2nd byte
of their signature. Adjust the detection routine so that if 2nd byte is
zero and 3rd byte contains value that is not a valid report rate, we still
assume that signature is valid.

Tested-by: Eric 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