Input: elantech - add support for newer elantech touchpads
authorJordan Rife <jrife0@gmail.com>
Wed, 23 Apr 2014 00:44:51 +0000 (17:44 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 23 Apr 2014 05:56:41 +0000 (22:56 -0700)
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>
drivers/input/mouse/elantech.c

index ef1cf52..088d354 100644 (file)
@@ -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: