]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Input: don't reset sync flag when ignoring event
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 2 Jun 2008 05:02:40 +0000 (01:02 -0400)
committerDmitry 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

index 27006fc1830567f30c87bc16a323cd826bd0ab46..cae48117e86bcbabdb3eff189f293a5699953b45 100644 (file)
@@ -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)