|
@@ -169,6 +169,8 @@ static int spcp8x5_port_probe(struct usb_serial_port *port)
|
|
|
|
|
|
usb_set_serial_port_data(port, priv);
|
|
|
|
|
|
+ port->port.drain_delay = 256;
|
|
|
+
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
@@ -411,8 +413,6 @@ static int spcp8x5_open(struct tty_struct *tty, struct usb_serial_port *port)
|
|
|
if (tty)
|
|
|
spcp8x5_set_termios(tty, port, NULL);
|
|
|
|
|
|
- port->port.drain_delay = 256;
|
|
|
-
|
|
|
return usb_serial_generic_open(tty, port);
|
|
|
}
|
|
|
|