From: Janusz Krzysztofik Date: Thu, 16 Jun 2011 04:13:55 +0000 (-0700) Subject: Input: omap-keypad - add missing input_sync() X-Git-Tag: firefly_0821_release~176^2~541^2~417 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b27af563befa95686c8d1abc491408aa6b9a31dc;p=firefly-linux-kernel-4.4.55.git Input: omap-keypad - add missing input_sync() 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 Reviewed-by: Henrik Rydberg Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/keyboard/omap-keypad.c b/drivers/input/keyboard/omap-keypad.c index f23a743817db..33d0bdc837c0 100644 --- a/drivers/input/keyboard/omap-keypad.c +++ b/drivers/input/keyboard/omap-keypad.c @@ -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) {