diff options
author | 2014-03-13 15:11:46 +0200 | |
---|---|---|
committer | 2014-03-17 16:23:07 -0700 | |
commit | cab53dc9e20f74fbd4776ea584ba3b21c957b1a8 (patch) | |
tree | 2779cee8bbdd970bbafaa7d979b8e3eb7488e889 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | serial: sh-sci: Neaten dev_<level> uses (diff) | |
download | wireguard-linux-cab53dc9e20f74fbd4776ea584ba3b21c957b1a8.tar.xz wireguard-linux-cab53dc9e20f74fbd4776ea584ba3b21c957b1a8.zip |
tty/serial: omap: fix RX interrupt enable/disable in half-duplex TX
Make sure that serial_omap_stop_rx() also disables RDI (Receiver Data Interrupt),
otherwise the interrupt handler will call serial_omap_rdi() to read the new data,
resulting in the transmission being echoed back.
When the half-duplex transmission is complete, in order to reverse the effects of
serial_omap_stop_rx(), we should re-enable:
* the RX interrupts _without_ overwriting up->ier
* the UART_LSR_DR bit of the up->port.read_status_mask
Signed-off-by: Dimitris Lampridis <dlampridis@logikonlabs.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