Input: elantech - add support for newer elantech touchpads

commit ae4bedf067 upstream.

Newer elantech touchpads are not recognized by the current driver, since it
fails to detect their firmware version number. This prevents more advanced
touchpad features from being usable such as two-finger scrolling. This
patch allows newer touchpads to be detected and be fully functional. Tested
on Sony Vaio SVF13N17PXB.

Signed-off-by: Jordan Rife <jrife0@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Jordan Rife
2014-04-22 17:44:51 -07:00
committed by Ben Hutchings
parent 4881050ef0
commit 5a0df908a3

View File

@ -1287,6 +1287,7 @@ static int elantech_set_properties(struct elantech_data *etd)
case 6:
case 7:
case 8:
case 9:
etd->hw_version = 4;
break;
default: