projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
148e9a7
)
Input: elantech - support new ICs types for version 4
author
Sam hung
<sam.hung@emc.com.tw>
Thu, 8 Jan 2015 21:22:43 +0000
(13:22 -0800)
committer
Dmitry 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
patch
|
blob
|
history
diff --git
a/drivers/input/mouse/elantech.c
b/drivers/input/mouse/elantech.c
index
f2b9780
..
77ecf6d
100644
(file)
--- 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: