Input: wacom_w8001 - ignore invalid pen data packets
authorPing Cheng <pinglinux@gmail.com>
Thu, 23 Jun 2016 17:55:11 +0000 (10:55 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 23 Jun 2016 20:38:45 +0000 (13:38 -0700)
commit9e72ac7492149a229ce9039c680849cb682d7092
tree9cb12623238ce9b1ae7cdee435f2aa3aeaed1594
parent12afb34400eb2b301f06b2aa3535497d14faee59
Input: wacom_w8001 - ignore invalid pen data packets

ThinkPad X60 Tablet PC (pen only device) sometime posts
packets that are larger than W8001_PKTLEN_TPCPEN.

Reported-by: Chris J Arges <christopherarges@gmail.com>
Tested-by: Chris J Arges <christopherarges@gmail.com>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/wacom_w8001.c