projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c44a86
)
Blackfin Serial Driver: Fix bug - kernel hangs when accessing uart 0 on bf537 when...
author
Sonic Zhang
<sonic.zhang@analog.com>
Wed, 23 Apr 2008 01:43:20 +0000
(09:43 +0800)
committer
Bryan Wu
<cooloney@kernel.org>
Wed, 23 Apr 2008 01:43:20 +0000
(09:43 +0800)
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>
drivers/serial/bfin_5xx.c
patch
|
blob
|
history
diff --git
a/drivers/serial/bfin_5xx.c
b/drivers/serial/bfin_5xx.c
index b773764ddab97d4016ab8d31ff833eae58d8b4e9..1dc9b583fa62e4a2aa49df54a655d4f053bfcbb3 100644
(file)
--- a/
drivers/serial/bfin_5xx.c
+++ b/
drivers/serial/bfin_5xx.c
@@
-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