summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/elantech.c
diff options
context:
space:
mode:
authorSam hung <sam.hung@emc.com.tw>2015-01-08 13:22:43 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-01-08 13:52:26 -0800
commit810aa0918b2b032684c8cad13f73d6ba37ad11c0 (patch)
tree8221e2e317b3abeaa81fb2efaefe29c26e6bf3e9 /drivers/input/mouse/elantech.c
parent148e9a711e034e06310a8c36b64957934ebe30f2 (diff)
downloadblackbird-obmc-linux-810aa0918b2b032684c8cad13f73d6ba37ad11c0.tar.gz
blackbird-obmc-linux-810aa0918b2b032684c8cad13f73d6ba37ad11c0.zip
Input: elantech - support new ICs types for version 4
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>
Diffstat (limited to 'drivers/input/mouse/elantech.c')
-rw-r--r--drivers/input/mouse/elantech.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
index f2b978026407..77ecf6d32237 100644
--- a/drivers/input/mouse/elantech.c
+++ b/drivers/input/mouse/elantech.c
@@ -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:
OpenPOWER on IntegriCloud