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: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=19d57d3a145e94349abf805eed2316ef720d86c2;p=openwrt%2Fstaging%2Fblogic.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 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)