|
@@ -147,8 +147,7 @@ static int uart_startup(struct uart_state *state, int init_hw)
|
|
* once we have successfully opened the port. Also set
|
|
* once we have successfully opened the port. Also set
|
|
* up the tty->alt_speed kludge
|
|
* up the tty->alt_speed kludge
|
|
*/
|
|
*/
|
|
- if (info->tty)
|
|
|
|
- set_bit(TTY_IO_ERROR, &info->tty->flags);
|
|
|
|
|
|
+ set_bit(TTY_IO_ERROR, &info->tty->flags);
|
|
|
|
|
|
if (port->type == PORT_UNKNOWN)
|
|
if (port->type == PORT_UNKNOWN)
|
|
return 0;
|
|
return 0;
|