From 3eda31ed211ae7f5a0a91f22d93fa313aa9f93af Mon Sep 17 00:00:00 2001 From: Johan Hovold Date: Fri, 12 Apr 2013 10:32:30 +0200 Subject: [PATCH] --- yaml --- r: 364312 b: refs/heads/master c: 53a72d57515b2c94af616bceab79751f894eca56 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/tty/synclinkmp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 75ddc05fbfd8..04036162c59c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5d8be15a621d739c376572607bab1ac0449947a4 +refs/heads/master: 53a72d57515b2c94af616bceab79751f894eca56 diff --git a/trunk/drivers/tty/synclinkmp.c b/trunk/drivers/tty/synclinkmp.c index 6d5780cf1d57..ff171384ea52 100644 --- a/trunk/drivers/tty/synclinkmp.c +++ b/trunk/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);