diff options
-rw-r--r-- | drivers/tty/serial/m32r_sio.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/tty/serial/m32r_sio.c b/drivers/tty/serial/m32r_sio.c index bb1afa0922e1..9cd9b4eba9fc 100644 --- a/drivers/tty/serial/m32r_sio.c +++ b/drivers/tty/serial/m32r_sio.c | |||
@@ -368,7 +368,10 @@ static void receive_chars(struct uart_sio_port *up, int *status) | |||
368 | ignore_char: | 368 | ignore_char: |
369 | *status = serial_in(up, UART_LSR); | 369 | *status = serial_in(up, UART_LSR); |
370 | } while ((*status & UART_LSR_DR) && (max_count-- > 0)); | 370 | } while ((*status & UART_LSR_DR) && (max_count-- > 0)); |
371 | |||
372 | spin_unlock(&up->port.lock); | ||
371 | tty_flip_buffer_push(port); | 373 | tty_flip_buffer_push(port); |
374 | spin_lock(&up->port.lock); | ||
372 | } | 375 | } |
373 | 376 | ||
374 | static void transmit_chars(struct uart_sio_port *up) | 377 | static void transmit_chars(struct uart_sio_port *up) |