Skip to content

Commit

Permalink
[SERIAL] Fix lh7a40x serial driver
Browse files Browse the repository at this point in the history
Missed updating two lh7a40xuart_stop_tx calls.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Sep 6, 2005
1 parent 4706df3 commit 1cd9855
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/serial/serial_lh7a40x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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)
Expand Down

0 comments on commit 1cd9855

Please sign in to comment.