diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/tty/serial/pnx8xxx_uart.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/tty/serial/pnx8xxx_uart.c b/drivers/tty/serial/pnx8xxx_uart.c index b6b7aca5707a..de6c05c63683 100644 --- a/drivers/tty/serial/pnx8xxx_uart.c +++ b/drivers/tty/serial/pnx8xxx_uart.c | |||
| @@ -237,7 +237,10 @@ static void pnx8xxx_rx_chars(struct pnx8xxx_port *sport) | |||
| 237 | status = FIFO_TO_SM(serial_in(sport, PNX8XXX_FIFO)) | | 237 | status = FIFO_TO_SM(serial_in(sport, PNX8XXX_FIFO)) | |
| 238 | ISTAT_TO_SM(serial_in(sport, PNX8XXX_ISTAT)); | 238 | ISTAT_TO_SM(serial_in(sport, PNX8XXX_ISTAT)); |
| 239 | } | 239 | } |
| 240 | |||
| 241 | spin_unlock(&sport->port.lock); | ||
| 240 | tty_flip_buffer_push(&sport->port.state->port); | 242 | tty_flip_buffer_push(&sport->port.state->port); |
| 243 | spin_lock(&sport->port.lock); | ||
| 241 | } | 244 | } |
| 242 | 245 | ||
| 243 | static void pnx8xxx_tx_chars(struct pnx8xxx_port *sport) | 246 | static void pnx8xxx_tx_chars(struct pnx8xxx_port *sport) |
