[PATCH 3.2 118/164] Input: elantech - add support for newer elantech touchpads

From: Ben Hutchings
Date: Sat Aug 01 2015 - 20:47:18 EST


3.2.70-rc1 review patch. If anyone has any objections, please let me know.

------------------

From: Jordan Rife <jrife0@xxxxxxxxx>

commit ae4bedf0679d99f0a9b80a7ea9b8dd205de05d06 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@xxxxxxxxx>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
---
drivers/input/mouse/elantech.c | 1 +
1 file changed, 1 insertion(+)

--- a/drivers/input/mouse/elantech.c
+++ b/drivers/input/mouse/elantech.c
@@ -1287,6 +1287,7 @@ static int elantech_set_properties(struc
case 6:
case 7:
case 8:
+ case 9:
etd->hw_version = 4;
break;
default:

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/