From: Dimitris Lampridis Date: Thu, 13 Mar 2014 13:11:46 +0000 (+0200) Subject: tty/serial: omap: fix RX interrupt enable/disable in half-duplex TX X-Git-Tag: v3.15-rc1~138^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cab53dc9e20f74fbd4776ea584ba3b21c957b1a8;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed