]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Input: elantech - fix firmware version check
authorFlorian Ragwitz <rafl@debian.org>
Tue, 27 Apr 2010 07:45:10 +0000 (00:45 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 4 May 2010 06:34:13 +0000 (23:34 -0700)
commit225c61aad38b12924b3df5f4ef43150c0d6bae8c
treef7536da6474ba2e41949dcb4f9107965a23521a7
parent5132088697fbfd1330facf723499091182f6ef91
Input: elantech - fix firmware version check

The check determining whether device should use 4- or 6-byte packets
was trying to compare firmware with 2.48, but was failing on majors
greater than 2. The new check ensures that versions like 4.1 are
checked properly.

Signed-off-by: Florian Ragwitz <rafl@debian.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/elantech.c