Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196073
b: refs/heads/master
c: 3f3a978
h: refs/heads/master
i:
  196071: 3955c2f
v: v3
  • Loading branch information
Sonic Zhang authored and Greg Kroah-Hartman committed May 21, 2010
1 parent 9d3a289 commit 5993795
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a5a420d207df40226afbf828c12bd9b4c6e058ef
refs/heads/master: 3f3a978b9f4a513610b32f16670914006a61067f
8 changes: 7 additions & 1 deletion trunk/drivers/serial/bfin_sport_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,13 @@ static void sport_uart_tx_chars(struct sport_uart_port *up)
}

if (uart_circ_empty(xmit) || uart_tx_stopped(&up->port)) {
sport_stop_tx(&up->port);
/* The waiting loop to stop SPORT TX from TX interrupt is
* too long. This may block SPORT RX interrupts and cause
* RX FIFO overflow. So, do stop sport TX only after the last
* char in TX FIFO is moved into the shift register.
*/
if (SPORT_GET_STAT(up) & TXHRE)
sport_stop_tx(&up->port);
return;
}

Expand Down

0 comments on commit 5993795

Please sign in to comment.