diff options
author | 2019-08-28 21:37:54 +0300 | |
---|---|---|
committer | 2019-09-04 12:43:55 +0200 | |
commit | d47bcb4a6cf0be5f3b390fe3fc12416034f86ae2 (patch) | |
tree | 018f7985745a9c00b5148a828bde0f4c3ed0c513 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | serial: imx: do not disable individual irqs during termios change (diff) | |
download | linux-dev-d47bcb4a6cf0be5f3b390fe3fc12416034f86ae2.tar.xz linux-dev-d47bcb4a6cf0be5f3b390fe3fc12416034f86ae2.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions