diff mbox

serial8250: too much work for irq73

Message ID 4D4AC43C.4060206@nokia.com (mailing list archive)
State Awaiting Upstream, archived
Headers show

Commit Message

Mathias Nyman Feb. 3, 2011, 3:05 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c
index 5ed1b82..d3add25 100644
--- a/drivers/serial/8250.c
+++ b/drivers/serial/8250.c
@@ -2403,6 +2403,8 @@  serial8250_set_termios(struct uart_port *port, struct ktermios *termios,
                if (fcr & UART_FCR_ENABLE_FIFO) {
                        /* emulated UARTs (Lucent Venus 167x) need two steps */
                        serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO);
+                       serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO |
+                                   UART_FCR_CLEAR_RCVR | UART_FCR_CLEAR_XMIT);
                }
                serial_outp(up, UART_FCR, fcr);         /* set fcr */
        }