Input: elantech - support new ICs types for version 4
authorSam hung <sam.hung@emc.com.tw>
Thu, 8 Jan 2015 21:22:43 +0000 (13:22 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 8 Jan 2015 21:52:26 +0000 (13:52 -0800)
This change allows the driver to recognize newer Elantech touchpads.

Cc: stable@vger.kernel.org
Signed-off-by: Yi ju Hong <sam.hung@emc.com.tw>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/elantech.c

index f2b97802640755aacfcde04005b125717cb63818..77ecf6d322370ea8566ade345da953b13cc6362d 100644 (file)
@@ -1520,6 +1520,8 @@ static int elantech_set_properties(struct elantech_data *etd)
                case 7:
                case 8:
                case 9:
+               case 10:
+               case 13:
                        etd->hw_version = 4;
                        break;
                default: