summaryrefslogtreecommitdiffstats
path: root/drivers/input/input.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2008-06-02 07:02:40 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-06-30 15:35:18 +0200
commitc98122828111d3eeb29bd2d51496e300b4e5356e (patch)
tree6c50b27a2c5fcb96e3309e4f8c433ba43b6365ce /drivers/input/input.c
parentMerge branch 'for-linus' into next (diff)
downloadlinux-c98122828111d3eeb29bd2d51496e300b4e5356e.tar.xz
linux-c98122828111d3eeb29bd2d51496e300b4e5356e.zip
Input: don't reset sync flag when ignoring event
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to '')
-rw-r--r--drivers/input/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c
index 27006fc18305..cae48117e86b 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)