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

From: Greg Kroah-Hartman
Date: Mon May 15 2017 - 06:46:13 EST


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 still sent to the synth. This patch flushes that buffered
> data when synth_flush is called.
>
> It also tries to ensure that hardware flow control is enabled, by
> setting CRTSCTS using tty's termios.
>
> Reported-by: John Covici <covici@xxxxxxxxxxxxxx>
> Signed-off-by: Okash Khawaja <okash.khawaja@xxxxxxxxx>
> Reviewed-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>

Doesn't apply as I didn't take your full series. Please resend it with
that series fixed up.

thanks,

greg k-h