diff options
Diffstat (limited to 'drivers/usb/serial/keyspan.c')
-rw-r--r-- | drivers/usb/serial/keyspan.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial/keyspan.c index a7be1b650..2377c0410 100644 --- a/drivers/usb/serial/keyspan.c +++ b/drivers/usb/serial/keyspan.c @@ -839,9 +839,6 @@ static int keyspan_open (struct usb_serial_port *port, struct file *filp) p_priv = (struct keyspan_port_private *)(port->private); /* Set some sane defaults */ - p_priv->baud = 9600; - p_priv->cflag = CREAD | CLOCAL; - p_priv->flow_control = flow_none; p_priv->rts_state = 1; p_priv->dtr_state = 1; @@ -854,16 +851,8 @@ static int keyspan_open (struct usb_serial_port *port, struct file *filp) dbg(__FUNCTION__ " submit urb %d failed (%d)", i, err); } } -/* Now done in startup routine - if (atomic_inc_return(&s_priv->active_count) == 1) { - s_priv->instat_urb->dev = serial->dev; - if ((err = usb_submit_urb(s_priv->instat_urb)) != 0) { - dbg(__FUNCTION__ " submit instat urb failed %d", err); - } - } -*/ - keyspan_send_setup(port); + keyspan_set_termios(port, NULL); return (0); } |