Commit 5a0df908 authored by Jordan Rife's avatar Jordan Rife Committed by Ben Hutchings

Input: elantech - add support for newer elantech touchpads

commit ae4bedf0 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: default avatarJordan Rife <jrife0@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 4881050e
...@@ -1287,6 +1287,7 @@ static int elantech_set_properties(struct elantech_data *etd) ...@@ -1287,6 +1287,7 @@ static int elantech_set_properties(struct elantech_data *etd)
case 6: case 6:
case 7: case 7:
case 8: case 8:
case 9:
etd->hw_version = 4; etd->hw_version = 4;
break; break;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment