From: Jason Gerecke Date: Tue, 6 Mar 2012 18:19:19 +0000 (-0800) Subject: Input: wacom - fix 3rd-gen Bamboo MT when 4+ fingers are in use X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=19d57d3a145e94349abf805eed2316ef720d86c2;p=~shefty%2Frdma-dev.git 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 Acked-by: Chris Bagwell Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c index 88672ec296c..cd3ed29e080 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)