* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6: tty: cp210x: Fix carrier handling tty_port: If we are opened non blocking we still need to raise the carrier
···221 the port has just hung up or is in another error state */222 if ((filp->f_flags & O_NONBLOCK) ||223 (tty->flags & (1 << TTY_IO_ERROR))) {000224 port->flags |= ASYNC_NORMAL_ACTIVE;225 return 0;226 }
···221 the port has just hung up or is in another error state */222 if ((filp->f_flags & O_NONBLOCK) ||223 (tty->flags & (1 << TTY_IO_ERROR))) {224+ /* Indicate we are open */225+ if (tty->termios->c_cflag & CBAUD)226+ tty_port_raise_dtr_rts(port);227 port->flags |= ASYNC_NORMAL_ACTIVE;228 return 0;229 }