projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rk3368: io-domain: add io domain volt sel
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
tty
/
synclinkmp.c
diff --git
a/drivers/tty/synclinkmp.c
b/drivers/tty/synclinkmp.c
index 6d5780cf1d57a1c6882f8302f7d0dea8710b7145..ff171384ea5256cabcf018c3a3dc839279f71392 100644
(file)
--- a/
drivers/tty/synclinkmp.c
+++ b/
drivers/tty/synclinkmp.c
@@
-3329,7
+3329,7
@@
static int block_til_ready(struct tty_struct *tty, struct file *filp,
port->blocked_open++;
while (1) {
- if (
tty->termios.c_cflag & CBAUD
)
+ if (
C_BAUD(tty) && test_bit(ASYNCB_INITIALIZED, &port->flags)
)
tty_port_raise_dtr_rts(port);
set_current_state(TASK_INTERRUPTIBLE);