Commit 97e2a929 authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by Sasha Levin

Input: elantech - add more IC body types to the list

[ Upstream commit 226ba707 ]

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: default avatarPatrick Lessard <Patrick.Lessard@cogeco.com>
Tested-by: default avatarPatrick Lessard <Patrick.Lessard@cogeco.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent 37d925d2
...@@ -1550,13 +1550,7 @@ static int elantech_set_properties(struct elantech_data *etd) ...@@ -1550,13 +1550,7 @@ static int elantech_set_properties(struct elantech_data *etd)
case 5: case 5:
etd->hw_version = 3; etd->hw_version = 3;
break; break;
case 6: case 6 ... 14:
case 7:
case 8:
case 9:
case 10:
case 13:
case 14:
etd->hw_version = 4; etd->hw_version = 4;
break; break;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment