Opps. The comment two lines below patch even says max count is 7. Acked-by: Chris Bagwell <chris@xxxxxxxxxxxxxx> Chris On Mon, Mar 5, 2012 at 8:21 PM, Jason Gerecke <killertofu@xxxxxxxxx> wrote: > The message count field uses three bits of storage, not two. > > Signed-off-by: Jason Gerecke <killertofu@xxxxxxxxx> > --- > drivers/input/tablet/wacom_wac.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c > index 9283507..d0b0fc4 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.9.1 > -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html