summaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet/wacom_wac.c
diff options
context:
space:
mode:
authorJason Gerecke2012-03-06 19:19:19 +0100
committerDmitry Torokhov2012-03-07 09:45:26 +0100
commit19d57d3a145e94349abf805eed2316ef720d86c2 (patch)
tree78c47ae5a9ec1827dee230e227e9ccd83233b1e0 /drivers/input/tablet/wacom_wac.c
parentInput: twl4030-vibra - use proper guard for PM methods (diff)
downloadkernel-qcow2-linux-19d57d3a145e94349abf805eed2316ef720d86c2.tar.gz
kernel-qcow2-linux-19d57d3a145e94349abf805eed2316ef720d86c2.tar.xz
kernel-qcow2-linux-19d57d3a145e94349abf805eed2316ef720d86c2.zip
Input: wacom - fix 3rd-gen Bamboo MT when 4+ fingers are in use
The message count field uses three bits of storage, not two. Signed-off-by: Jason Gerecke <killertofu@gmail.com> Acked-by: Chris Bagwell <chris@cnpbagwell.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/tablet/wacom_wac.c')
-rw-r--r--drivers/input/tablet/wacom_wac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c
index 88672ec296c1..cd3ed29e0801 100644
--- a/drivers/input/tablet/wacom_wac.c
+++ b/drivers/input/tablet/wacom_wac.c
@@ -926,7 +926,7 @@ static int wacom_bpt3_touch(struct wacom_wac *wacom)
{
struct input_dev *input = wacom->input;
unsigned char *data = wacom->data;
- int count = data[1] & 0x03;
+ int count = data[1] & 0x07;
int i;
if (data[0] != 0x02)