Skip to content

Commit

Permalink
Input: wacom - fix 3rd-gen Bamboo MT when 4+ fingers are in use
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jigpu authored and dtor committed Mar 7, 2012
1 parent f3761c0 commit 19d57d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/tablet/wacom_wac.c
Expand Up @@ -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)
Expand Down

0 comments on commit 19d57d3

Please sign in to comment.