Input: elantech - fix detection of touchpads where the revision matches a known rate
authorHans de Goede <hdegoede@redhat.com>
Tue, 2 Jun 2015 17:40:50 +0000 (10:40 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 6 Aug 2015 23:32:14 +0000 (00:32 +0100)
commit47188f4e51c0dc5b84457e247800bdf1d31c63d4
tree0af33209a5b2798ac7c48d19088e2f323fc50b23
parent8dfc8b9e8432f50606820b40a7d63618d9d61a07
Input: elantech - fix detection of touchpads where the revision matches a known rate

commit 5f0ee9d17aae628b22be86966471db65be21f262 upstream.

Make the check to skip the rate check more lax, so that it applies
to all hw_version 4 models.

This fixes the touchpad not being detected properly on Asus PU551LA
laptops.

Reported-and-tested-by: David Zafra Gómez <dezeta@klo.es>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/input/mouse/elantech.c