projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e72ac7
)
Input: elantech - add more IC body types to the list
author
Dmitry Torokhov
<
[email protected]
>
Tue, 21 Jun 2016 23:09:00 +0000
(16:09 -0700)
committer
Dmitry Torokhov
<
[email protected]
>
Thu, 23 Jun 2016 20:38:58 +0000
(13:38 -0700)
The touchpad in HP Pavilion 14-
ab057ca
reports it's version as 12 and
according to Elan both 11 and 12 are valid IC types and should be
identified as hw_version 4.
Reported-by: Patrick Lessard <
[email protected]
>
Tested-by: Patrick Lessard <
[email protected]
>
Cc:
[email protected]
Signed-off-by: Dmitry Torokhov <
[email protected]
>
drivers/input/mouse/elantech.c
patch
|
blob
|
history
diff --git
a/drivers/input/mouse/elantech.c
b/drivers/input/mouse/elantech.c
index 78f93cf68840d24328ebd0630f86c4e372d051bf..be5b399da5d3ec7b982fa49945bcc4d3be576b39 100644
(file)
--- a/
drivers/input/mouse/elantech.c
+++ b/
drivers/input/mouse/elantech.c
@@
-1568,13
+1568,7
@@
static int elantech_set_properties(struct elantech_data *etd)
case 5:
etd->hw_version = 3;
break;
- case 6:
- case 7:
- case 8:
- case 9:
- case 10:
- case 13:
- case 14:
+ case 6 ... 14:
etd->hw_version = 4;
break;
default: