Skip to content

Commit

Permalink
Blackfin Serial Driver: Fix bug - kernel hangs when accessing uart 0 …
Browse files Browse the repository at this point in the history
…on bf537 when booting u-boot and linux on uart 1

Wait only when this UART is enabled.
http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3995

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
  • Loading branch information
Sonic Zhang authored and Bryan Wu committed Apr 23, 2008
1 parent 0c44a86 commit 1a3a4c7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/serial/bfin_5xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -806,10 +806,6 @@ bfin_serial_set_termios(struct uart_port *port, struct ktermios *termios,

UART_SET_ANOMALY_THRESHOLD(uart, USEC_PER_SEC / baud * 15);

do {
lsr = UART_GET_LSR(uart);
} while (!(lsr & TEMT));

/* Disable UART */
ier = UART_GET_IER(uart);
#ifdef CONFIG_BF54x
Expand Down

0 comments on commit 1a3a4c7

Please sign in to comment.