diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-09-02 17:39:14 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-08 16:22:42 -0700 |
commit | fba594a848f6f35417a358565086d22c533c19c8 (patch) | |
tree | bbab00d9c8d6e0bb52e053dedf873ae4ac5c4482 /drivers/tty/serial/sunsab.c | |
parent | c235ccc1c4d6fd8b7d48b976b87416230ffd5149 (diff) | |
download | op-kernel-dev-fba594a848f6f35417a358565086d22c533c19c8.zip op-kernel-dev-fba594a848f6f35417a358565086d22c533c19c8.tar.gz |
serial: core: Remove unsafe x_char optimization
uart_unthrottle() attempts to avoid sending START and the previous
x_char if the previous x_char has not yet been sent. However, this
optimization could leave the sender in a throttled state; for example,
if the sender is throttled and this unthrottle coincides with a manual
tcflow(TCION) from user-space, then neither START would be sent.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sunsab.c')
0 files changed, 0 insertions, 0 deletions