Commit 2813b165 authored by Johan Hovold's avatar Johan Hovold

USB: serial: io_ti: switch to 30-second closing wait

Switch to using the system-wide default 30-second closing-wait timeout
instead of the driver specific 40-second timeout.

The timeout can be changed per port using TIOCSSERIAL (setserial) if
needed.
Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent d669a51d
......@@ -60,8 +60,6 @@
#define EDGE_READ_URB_STOPPING 1
#define EDGE_READ_URB_STOPPED 2
#define EDGE_CLOSING_WAIT 4000 /* in .01 sec */
/* Product information read from the Edgeport */
struct product_info {
......@@ -2592,7 +2590,6 @@ static int edge_port_probe(struct usb_serial_port *port)
if (ret)
goto err;
port->port.closing_wait = msecs_to_jiffies(EDGE_CLOSING_WAIT * 10);
port->port.drain_delay = 1;
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment