Input: omap-keypad - add missing input_sync()
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Thu, 16 Jun 2011 04:13:55 +0000 (21:13 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 18 Jun 2011 09:54:42 +0000 (02:54 -0700)
Otherwise the updated evdev driver (commit cdda911c34006f1089f3c87b1a1f,
"Input: evdev - only signal polls on full packets") no longer works on
top of omap-keypad.

Tested on Amstrad Delta.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/omap-keypad.c

index f23a743..33d0bdc 100644 (file)
@@ -209,6 +209,7 @@ static void omap_kp_tasklet(unsigned long data)
 #endif
                }
        }
+       input_sync(omap_kp_data->input);
        memcpy(keypad_state, new_state, sizeof(keypad_state));
 
        if (key_down) {