diff options
-rw-r--r-- | drivers/tty/serial/altera_uart.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/tty/serial/altera_uart.c b/drivers/tty/serial/altera_uart.c index fa638db9a98c..6431472aeb1f 100644 --- a/drivers/tty/serial/altera_uart.c +++ b/drivers/tty/serial/altera_uart.c | |||
@@ -231,7 +231,9 @@ static void altera_uart_rx_chars(struct altera_uart *pp) | |||
231 | flag); | 231 | flag); |
232 | } | 232 | } |
233 | 233 | ||
234 | spin_unlock(&port->lock); | ||
234 | tty_flip_buffer_push(&port->state->port); | 235 | tty_flip_buffer_push(&port->state->port); |
236 | spin_lock(&port->lock); | ||
235 | } | 237 | } |
236 | 238 | ||
237 | static void altera_uart_tx_chars(struct altera_uart *pp) | 239 | static void altera_uart_tx_chars(struct altera_uart *pp) |