summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPing Cheng <pinglinux@gmail.com>2016-06-23 10:54:17 -0700
committerBen Hutchings <ben@decadent.org.uk>2016-08-22 22:37:16 +0100
commit61d3a67250358668f4d1d5a34265de0544d9140f (patch)
tree45cf9ca3e537077cfe8e509215480dc7ce86a7ad
parentc68f2be6350f4a10c7761eec3ca30b18ff9ff35e (diff)
downloadlinux-stable-61d3a67250358668f4d1d5a34265de0544d9140f.tar.gz
linux-stable-61d3a67250358668f4d1d5a34265de0544d9140f.tar.bz2
linux-stable-61d3a67250358668f4d1d5a34265de0544d9140f.zip
Input: wacom_w8001 - w8001_MAX_LENGTH should be 13
commit 12afb34400eb2b301f06b2aa3535497d14faee59 upstream. 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> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-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 1569a3934ab2..7335a5bd2cf0 100644
--- a/drivers/input/touchscreen/wacom_w8001.c
+++ b/drivers/input/touchscreen/wacom_w8001.c
@@ -28,7 +28,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