diff options
| author | Okash Khawaja <[email protected]> | 2017-05-15 18:45:37 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-05-16 14:19:41 +0200 |
| commit | 1c5973675cee92d5e8ad3a8a6e53a3e822bae271 (patch) | |
| tree | 2ef5bad2d418ac675b709e600b8bf6975e565fda /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 470790eefede39ebc22594ce657f14cc83365aed (diff) | |
staging: speakup: flush tty buffers and ensure hardware flow control
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 <[email protected]>
Signed-off-by: Okash Khawaja <[email protected]>
Reviewed-by: Samuel Thibault <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions