33 lines
1.0 KiB
Diff
33 lines
1.0 KiB
Diff
From: Jason Gerecke <killertofu@gmail.com>
|
|
Date: Tue, 6 Mar 2012 10:19:19 -0800
|
|
Subject: Input: wacom - fix 3rd-gen Bamboo MT when 4+ fingers are in use
|
|
|
|
commit 19d57d3a145e94349abf805eed2316ef720d86c2 upstream.
|
|
|
|
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>
|
|
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
|
|
---
|
|
drivers/input/tablet/wacom_wac.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c
|
|
index 07a1f218b5c1..89a96427faa0 100644
|
|
--- a/drivers/input/tablet/wacom_wac.c
|
|
+++ b/drivers/input/tablet/wacom_wac.c
|
|
@@ -938,7 +938,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)
|
|
--
|
|
1.7.10.1
|
|
|