Message ID | 1285175225.2960.10.camel@maxim-laptop (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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; } diff --git a/drivers/char/sysrq.c b/drivers/char/sysrq.c index ef31bb8..db1eb12 100644 --- a/drivers/char/sysrq.c +++ b/drivers/char/sysrq.c @@ -601,7 +601,7 @@ static bool sysrq_filter(struct input_handle *handle, unsigned int type, } out: - return sysrq_down; + return 0; } static int sysrq_connect(struct input_handler *handler,