Dimitris Lampridis cab53dc9e2 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>
2014-03-17 16:23:07 -07:00
..
2014-02-28 16:31:00 -08:00
2014-02-28 16:25:47 -08:00
2013-01-15 22:30:15 -08:00
2013-03-18 16:24:29 -07:00
2011-03-31 11:26:23 -03:00
2013-12-08 16:56:05 -08:00
2014-02-13 10:18:48 -08:00
2013-10-16 13:08:16 -07:00
2013-07-24 15:12:53 -07:00
2014-03-17 16:13:23 -07:00
2014-03-17 16:13:23 -07:00
2014-02-28 16:31:00 -08:00
2013-12-16 16:55:43 -08:00