diff options
-rw-r--r-- | drivers/tty/serial/sa1100.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/tty/serial/sa1100.c b/drivers/tty/serial/sa1100.c index fc23ea19073a..ba25722a7131 100644 --- a/drivers/tty/serial/sa1100.c +++ b/drivers/tty/serial/sa1100.c | |||
@@ -232,7 +232,10 @@ sa1100_rx_chars(struct sa1100_port *sport) | |||
232 | status = UTSR1_TO_SM(UART_GET_UTSR1(sport)) | | 232 | status = UTSR1_TO_SM(UART_GET_UTSR1(sport)) | |
233 | UTSR0_TO_SM(UART_GET_UTSR0(sport)); | 233 | UTSR0_TO_SM(UART_GET_UTSR0(sport)); |
234 | } | 234 | } |
235 | |||
236 | spin_unlock(&sport->port.lock); | ||
235 | tty_flip_buffer_push(&sport->port.state->port); | 237 | tty_flip_buffer_push(&sport->port.state->port); |
238 | spin_lock(&sport->port.lock); | ||
236 | } | 239 | } |
237 | 240 | ||
238 | static void sa1100_tx_chars(struct sa1100_port *sport) | 241 | static void sa1100_tx_chars(struct sa1100_port *sport) |