diff options
Diffstat (limited to 'drivers/usb/serial/ch341.c')
-rw-r--r-- | drivers/usb/serial/ch341.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/usb/serial/ch341.c b/drivers/usb/serial/ch341.c index 7e8e39818414..63f7cc45bcac 100644 --- a/drivers/usb/serial/ch341.c +++ b/drivers/usb/serial/ch341.c | |||
@@ -305,10 +305,7 @@ static void ch341_close(struct usb_serial_port *port) | |||
305 | { | 305 | { |
306 | dbg("%s - port %d", __func__, port->number); | 306 | dbg("%s - port %d", __func__, port->number); |
307 | 307 | ||
308 | /* shutdown our urbs */ | 308 | usb_serial_generic_close(port); |
309 | dbg("%s - shutting down urbs", __func__); | ||
310 | usb_kill_urb(port->write_urb); | ||
311 | usb_kill_urb(port->read_urb); | ||
312 | usb_kill_urb(port->interrupt_in_urb); | 309 | usb_kill_urb(port->interrupt_in_urb); |
313 | } | 310 | } |
314 | 311 | ||