On Fri, 9 Sep 2016 17:37:10 -0500 Rob Herring <robh@xxxxxxxxxx> wrote: > If we don't have a tty when calling uart_port_startup, skip the baudrate > and modem control setup which depend on tty->termios struct. Either > tty_port clients will configure the line in a separate call or we'll > move termios into the tty_port. I don't think getting rid of the tty object makes any sense whatsoever just create a kernel one. Either way the giant churny patch and this hack should be deferred in favour of moving the termios structure into the tty port (and the locks for it) and doing the right job once. The termios does I agree belong in the tty_port so irrespective of final direction fixing that is a right move. Alan -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html