Input: elantech - relax signature checks
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 19 May 2010 17:11:13 +0000 (10:11 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 19 May 2010 17:15:13 +0000 (10:15 -0700)
commita083632eaf6231162b33e40561cfec6a9c156945
treea063886c624edbb204eb6e87d046f67bb89a2e4d
parentd4ae84a84bedcb79341887ff070e6528d1374663
Input: elantech - relax signature checks

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