aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/input.c')
-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,
241 break; 241 break;
242 } 242 }
243 243
244 if (type != EV_SYN) 244 if (disposition != INPUT_IGNORE_EVENT && type != EV_SYN)
245 dev->sync = 0; 245 dev->sync = 0;
246 246
247 if ((disposition & INPUT_PASS_TO_DEVICE) && dev->event) 247 if ((disposition & INPUT_PASS_TO_DEVICE) && dev->event)