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)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 2 Jun 2015 17:43:07 +0000 (10:43 -0700)
commit5f0ee9d17aae628b22be86966471db65be21f262
treee61400aa61145e3c7f1ec2d0be2895756ee7556a
parent77b071e7931dd762563ac74e3e448b2aef23ad2f
Input: elantech - fix detection of touchpads where the revision matches a known rate

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.

Cc: stable@vger.kernel.org
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>
drivers/input/mouse/elantech.c