projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15439dd
)
Input: don't reset sync flag when ignoring event
author
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Mon, 2 Jun 2008 05:02:40 +0000
(
01:02
-0400)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Mon, 30 Jun 2008 13:35:18 +0000
(09:35 -0400)
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/input.c
patch
|
blob
|
history
diff --git
a/drivers/input/input.c
b/drivers/input/input.c
index
27006fc
..
cae4811
100644
(file)
--- 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)