Input: alps - fix reporting pressure of v3 trackstick
authorPali Rohár <pali.rohar@gmail.com>
Mon, 23 Apr 2018 23:25:58 +0000 (16:25 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 23 Apr 2018 23:38:16 +0000 (16:38 -0700)
commit9c71b2c53bf56efa2f8aeab4247a86c0178fdcd7
tree5568498bd7d2fa4be06b18259c894b2fdcbc93ad
parent6bd6ae639683c0b41f46990d5c64ff9fbfa019dc
Input: alps - fix reporting pressure of v3 trackstick

According to documentation, all 7 lower bits represents trackpoint pressure.

Fixes: 4621c9660459 ("Input: alps - report pressure of v3 and v7 trackstick")
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.c