diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-06-21 19:09:00 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-06-23 16:38:58 -0400 |
commit | 226ba707744a51acb4244724e09caacb1d96aed9 (patch) | |
tree | d6f24789cce00333c13c1f5273d814e6689cd95c | |
parent | 9e72ac7492149a229ce9039c680849cb682d7092 (diff) |
Input: elantech - add more IC body types to the list
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 <Patrick.Lessard@cogeco.com>
Tested-by: Patrick Lessard <Patrick.Lessard@cogeco.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r-- | drivers/input/mouse/elantech.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c index 78f93cf68840..be5b399da5d3 100644 --- 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) | |||
1568 | case 5: | 1568 | case 5: |
1569 | etd->hw_version = 3; | 1569 | etd->hw_version = 3; |
1570 | break; | 1570 | break; |
1571 | case 6: | 1571 | case 6 ... 14: |
1572 | case 7: | ||
1573 | case 8: | ||
1574 | case 9: | ||
1575 | case 10: | ||
1576 | case 13: | ||
1577 | case 14: | ||
1578 | etd->hw_version = 4; | 1572 | etd->hw_version = 4; |
1579 | break; | 1573 | break; |
1580 | default: | 1574 | default: |