summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorJordan Rife <jrife0@gmail.com>2014-04-22 17:44:51 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-04-22 22:56:41 -0700
commitae4bedf0679d99f0a9b80a7ea9b8dd205de05d06 (patch)
treef55dd57373734be2088a02aadb052502677a8777 /drivers/input
parent7740fc52105c9e6d2beac389a9ae0ce7138cf5ab (diff)
downloadlinux-ae4bedf0679d99f0a9b80a7ea9b8dd205de05d06.tar.gz
linux-ae4bedf0679d99f0a9b80a7ea9b8dd205de05d06.tar.bz2
linux-ae4bedf0679d99f0a9b80a7ea9b8dd205de05d06.zip
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 <jrife0@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/mouse/elantech.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
index ef1cf52f8bb9..088d3541c7d3 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: