]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerJiri Slaby <jslaby@suse.cz>
Tue, 23 Jun 2015 12:55:11 +0000 (14:55 +0200)
commitbc2990ca6c55f98dab00d90d32649bec039ff111
treebbd3ad5627155957d04cbda0130efbf55863f1f5
parentd00b7b6be65c096f65beb829c1b6fd010c026e8b
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: Jiri Slaby <jslaby@suse.cz>
drivers/input/mouse/elantech.c