提交 1cd9855c 编写于 作者: R Russell King 提交者: Russell King

[SERIAL] Fix lh7a40x serial driver

Missed updating two lh7a40xuart_stop_tx calls.
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 4706df3d
......@@ -207,7 +207,7 @@ static void lh7a40xuart_tx_chars (struct uart_port* port)
return;
}
if (uart_circ_empty (xmit) || uart_tx_stopped (port)) {
lh7a40xuart_stop_tx (port, 0);
lh7a40xuart_stop_tx (port);
return;
}
......@@ -229,7 +229,7 @@ static void lh7a40xuart_tx_chars (struct uart_port* port)
uart_write_wakeup (port);
if (uart_circ_empty (xmit))
lh7a40xuart_stop_tx (port, 0);
lh7a40xuart_stop_tx (port);
}
static void lh7a40xuart_modem_status (struct uart_port* port)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册