diff mbox

[2/3] keyboard,kdb: inject SYN events in kbd_clear_keys_helper

Message ID 1286483748-1171-3-git-send-email-jason.wessel@windriver.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jason Wessel Oct. 7, 2010, 8:35 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/char/keyboard.c b/drivers/char/keyboard.c
index 0c6c641..7df6af5 100644
--- a/drivers/char/keyboard.c
+++ b/drivers/char/keyboard.c
@@ -368,6 +368,7 @@  static int kbd_clear_keys_helper(struct input_handle *handle, void *data)
 {
 	unsigned int *keycode = data;
 	input_inject_event(handle, EV_KEY, *keycode, 0);
+	input_inject_event(handle, EV_SYN, SYN_REPORT, 0);
 	return 0;
 }