summaryrefslogtreecommitdiff
path: root/drivers/input/keyboard/omap-keypad.c
diff options
context:
space:
mode:
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>2011-06-15 21:13:55 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-06-18 02:54:42 -0700
commitb27af563befa95686c8d1abc491408aa6b9a31dc (patch)
tree60b2359ae98bc31927b1675c831e5c5af60fd9b6 /drivers/input/keyboard/omap-keypad.c
parentda40b0b6b4d3a81c5051fe6ae0544c48c13261c4 (diff)
downloadlwn-b27af563befa95686c8d1abc491408aa6b9a31dc.tar.gz
lwn-b27af563befa95686c8d1abc491408aa6b9a31dc.zip
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>
Diffstat (limited to 'drivers/input/keyboard/omap-keypad.c')
-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) {