]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3a473896254bbf677f41d22636685da28b199ae2
treea063886c624edbb204eb6e87d046f67bb89a2e4d
parent031a26e1e2e82b615a7cc96e321166bec42aa969
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