From: Jordan Rife Date: Wed, 23 Apr 2014 00:44:51 +0000 (-0700) Subject: Input: elantech - add support for newer elantech touchpads X-Git-Tag: v3.15-rc3~22^2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=ae4bedf0679d99f0a9b80a7ea9b8dd205de05d06;p=~emulex%2Finfiniband.git Input: elantech - add support for newer elantech touchpads 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 Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c index ef1cf52f8bb..088d3541c7d 100644 --- a/drivers/input/mouse/elantech.c +++ b/drivers/input/mouse/elantech.c @@ -1353,6 +1353,7 @@ static int elantech_set_properties(struct elantech_data *etd) case 6: case 7: case 8: + case 9: etd->hw_version = 4; break; default: