Skip to content

Commit a0533fb

Browse files
covicigregkh
authored andcommitted
staging: speakup: fix speakup-r regression
commit b1d562a upstream. Here is a patch to make speakup-r work again. It broke in 3.6 due to commit 4369c64 "Input: Send events one packet at a time) The problem was that the fakekey.c routine to fake a down arrow no longer functioned properly and putting the input_sync fixed it. Fixes: 4369c64 Acked-by: Samuel Thibault <[email protected]> Signed-off-by: John Covici <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 383f72c commit a0533fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/staging/speakup/fakekey.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ void speakup_fake_down_arrow(void)
8181
__this_cpu_write(reporting_keystroke, true);
8282
input_report_key(virt_keyboard, KEY_DOWN, PRESSED);
8383
input_report_key(virt_keyboard, KEY_DOWN, RELEASED);
84+
input_sync(virt_keyboard);
8485
__this_cpu_write(reporting_keystroke, false);
8586

8687
/* reenable preemption */

0 commit comments

Comments
 (0)