We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ee0796 commit 7be50f2Copy full SHA for 7be50f2
drivers/tty/serial/mxs-auart.c
@@ -605,13 +605,16 @@ static void mxs_auart_tx_chars(struct mxs_auart_port *s)
605
return;
606
}
607
608
- pending = uart_port_tx(&s->port, ch,
+ pending = uart_port_tx_flags(&s->port, ch, UART_TX_NOSTOP,
609
!(mxs_read(s, REG_STAT) & AUART_STAT_TXFF),
610
mxs_write(ch, s, REG_DATA));
611
if (pending)
612
mxs_set(AUART_INTR_TXIEN, s, REG_INTR);
613
else
614
mxs_clr(AUART_INTR_TXIEN, s, REG_INTR);
615
+
616
+ if (uart_tx_stopped(&s->port))
617
+ mxs_auart_stop_tx(&s->port);
618
619
620
static void mxs_auart_rx_char(struct mxs_auart_port *s)
0 commit comments