From: Dmitry Torokhov Date: Mon, 2 Jun 2008 05:02:40 +0000 (-0400) Subject: Input: don't reset sync flag when ignoring event X-Git-Tag: v2.6.27-rc1~958^2~27 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c98122828111d3eeb29bd2d51496e300b4e5356e;p=linux-2.6 Input: don't reset sync flag when ignoring event Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/input.c b/drivers/input/input.c index 27006fc183..cae48117e8 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -241,7 +241,7 @@ static void input_handle_event(struct input_dev *dev, break; } - if (type != EV_SYN) + if (disposition != INPUT_IGNORE_EVENT && type != EV_SYN) dev->sync = 0; if ((disposition & INPUT_PASS_TO_DEVICE) && dev->event)