commit | a083632eaf6231162b33e40561cfec6a9c156945 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed May 19 10:11:13 2010 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed May 19 10:15:13 2010 -0700 |
tree | a063886c624edbb204eb6e87d046f67bb89a2e4d | |
parent | d4ae84a84bedcb79341887ff070e6528d1374663 [diff] |
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>