summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPing Cheng <pinglinux@gmail.com>2016-06-23 19:54:17 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-06-23 20:22:36 +0200
commit12afb34400eb2b301f06b2aa3535497d14faee59 (patch)
treed20b6ed9b5a6d7655cf57b0b2e692d34ada3ea51
parentInput: xpad - fix oops when attaching an unknown Xbox One gamepad (diff)
downloadlinux-12afb34400eb2b301f06b2aa3535497d14faee59.tar.xz
linux-12afb34400eb2b301f06b2aa3535497d14faee59.zip
Input: wacom_w8001 - w8001_MAX_LENGTH should be 13
Somehow the patch that added two-finger touch support forgot to update W8001_MAX_LENGTH from 11 to 13. 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>
-rw-r--r--drivers/input/touchscreen/wacom_w8001.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/wacom_w8001.c b/drivers/input/touchscreen/wacom_w8001.c
index bab3c6acf6a2..b1b412766da8 100644
--- a/drivers/input/touchscreen/wacom_w8001.c
+++ b/drivers/input/touchscreen/wacom_w8001.c
@@ -27,7 +27,7 @@ MODULE_AUTHOR("Jaya Kumar <jayakumar.lkml@gmail.com>");
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL");
-#define W8001_MAX_LENGTH 11
+#define W8001_MAX_LENGTH 13
#define W8001_LEAD_MASK 0x80
#define W8001_LEAD_BYTE 0x80
#define W8001_TAB_MASK 0x40