summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>2011-06-16 08:13:55 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-06-18 13:54:42 +0400
commitb27af563befa95686c8d1abc491408aa6b9a31dc (patch)
tree60b2359ae98bc31927b1675c831e5c5af60fd9b6
parentda40b0b6b4d3a81c5051fe6ae0544c48c13261c4 (diff)
downloadlinux-b27af563befa95686c8d1abc491408aa6b9a31dc.tar.xz
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 <jkrzyszt@tis.icnet.pl> Reviewed-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
-rw-r--r--drivers/input/keyboard/omap-keypad.c1
1 files changed, 1 insertions, 0 deletions
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) {