diff options
author | Sergey Organov <sorganov@gmail.com> | 2019-08-28 21:37:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-04 12:43:55 +0200 |
commit | d47bcb4a6cf0be5f3b390fe3fc12416034f86ae2 (patch) | |
tree | 018f7985745a9c00b5148a828bde0f4c3ed0c513 /drivers/tty/serial/zs.h | |
parent | 85f30fbf32d1e8a55c5c563aaf8a35488c6d9745 (diff) |
serial: imx: fix data breakage on termios change
imx_set_termios(): avoid writing baud rate divider registers when the
values to be written are the same as current. Any writing seems to
restart transmission/receiving logic in the hardware, that leads to
data breakage even when rate doesn't in fact change. E.g., user
switches RTS/CTS handshake and suddenly gets broken bytes.
Signed-off-by: Sergey Organov <sorganov@gmail.com>
Link: https://lore.kernel.org/r/1567017475-11919-5-git-send-email-sorganov@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/zs.h')
0 files changed, 0 insertions, 0 deletions