aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/tty/serial/bcm63xx_uart.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/tty/serial/bcm63xx_uart.c b/drivers/tty/serial/bcm63xx_uart.c
index d14ba5aa2ec7..649d5129c4b4 100644
--- a/drivers/tty/serial/bcm63xx_uart.c
+++ b/drivers/tty/serial/bcm63xx_uart.c
@@ -302,7 +302,9 @@ static void bcm_uart_do_rx(struct uart_port *port)
302 302
303 } while (--max_count); 303 } while (--max_count);
304 304
305 spin_unlock(&port->lock);
305 tty_flip_buffer_push(tty_port); 306 tty_flip_buffer_push(tty_port);
307 spin_lock(&port->lock);
306} 308}
307 309
308/* 310/*