Input: wacom - handle 1024 pressure levels in wacom_tpc_pen
authorJason Gerecke <killertofu@gmail.com>
Sat, 19 Apr 2014 20:51:41 +0000 (13:51 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 19 Apr 2014 20:57:35 +0000 (13:57 -0700)
commit38a1807badd26d413e8f2b0393a0c5bfdf9e912b
tree6abe36e8e92a745e100e88ed8f8008759f80aff0
parent74b634178e5f0e2d8d2d26f308c440687930274b
Input: wacom - handle 1024 pressure levels in wacom_tpc_pen

Some tablet PC sensors (e.g. the 0xEC found in the Thinkpad Yoga) report
more than 256 pressure levels and will experience wraparound unless the
full range is read.

Signed-off-by: Jason Gerecke <killertofu@gmail.com>
Tested-by: Aaron Skomra <Aaron.Skomra@wacom.com>
Reviewed-by: Carl Worth <cworth@cworth.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/tablet/wacom_wac.c