]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit63f1a08d1505bd4014162264c7c1372db6b11713
tree6abe36e8e92a745e100e88ed8f8008759f80aff0
parentabc81e9ff77e881bc4713ddbc911f47d24499cb4
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