Re: [patch v2 1/1] staging: speakup: flush tty buffers and ensure hardware flow control

2017-05-15 Thread Greg Kroah-Hartman
On Fri, May 12, 2017 at 08:43:58PM +0100, Okash Khawaja wrote: > This patch fixes the issue where TTY-migrated synths would take a while > to shut up after hitting numpad enter key. When calling synth_flush, > even though XOFF character is sent as high priority, data buffered in > TTY layer is

[patch v2 1/1] staging: speakup: flush tty buffers and ensure hardware flow control

2017-05-12 Thread Okash Khawaja
This patch fixes the issue where TTY-migrated synths would take a while to shut up after hitting numpad enter key. When calling synth_flush, even though XOFF character is sent as high priority, data buffered in TTY layer is still sent to the synth. This patch flushes that buffered data when