diff options
Diffstat (limited to 'drivers/tty/serial/rp2.c')
-rw-r--r-- | drivers/tty/serial/rp2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/tty/serial/rp2.c b/drivers/tty/serial/rp2.c index a314a943f12..328d6deb6b0 100644 --- a/drivers/tty/serial/rp2.c +++ b/drivers/tty/serial/rp2.c @@ -427,7 +427,9 @@ static void rp2_rx_chars(struct rp2_uart_port *up) up->port.icount.rx++; } + spin_unlock(&up->port.lock); tty_flip_buffer_push(port); + spin_lock(&up->port.lock); } static void rp2_tx_chars(struct rp2_uart_port *up) |