提交 27043930 编写于 作者: O Olivier Bornet 提交者: Greg Kroah-Hartman

USB: iuu_phoenix: Don't reset the device at close

Resetting the device cause the device to have a new name in the /dev.
Signed-off-by: NOlivier Bornet <Olivier.Bornet@puck.ch>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 4143d178
......@@ -1009,11 +1009,7 @@ static void iuu_close(struct usb_serial_port *port)
usb_kill_urb(port->write_urb);
usb_kill_urb(port->read_urb);
usb_kill_urb(port->interrupt_in_urb);
msleep(1000);
/* wait one second to free all buffers */
iuu_led(port, 0, 0, 0xF000, 0xFF);
msleep(1000);
usb_reset_device(port->serial->dev);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册