Commit 6af886e6 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: fix usb_unlink_urb() usage in mct_u232 driver

Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 9cc3cf0a
...@@ -480,9 +480,9 @@ static void mct_u232_close (struct usb_serial_port *port, struct file *filp) ...@@ -480,9 +480,9 @@ static void mct_u232_close (struct usb_serial_port *port, struct file *filp)
if (port->serial->dev) { if (port->serial->dev) {
/* shutdown our urbs */ /* shutdown our urbs */
usb_unlink_urb (port->write_urb); usb_kill_urb(port->write_urb);
usb_unlink_urb (port->read_urb); usb_kill_urb(port->read_urb);
usb_unlink_urb (port->interrupt_in_urb); usb_kill_urb(port->interrupt_in_urb);
} }
} /* mct_u232_close */ } /* mct_u232_close */
......
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