USB: iuu_phoenix: Don't reset the device at close
authorOlivier Bornet <Olivier.Bornet@puck.ch>
Tue, 18 Aug 2009 19:05:53 +0000 (21:05 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:35 +0000 (06:46 -0700)
Resetting the device cause the device to have a new name in the /dev.

Signed-off-by: Olivier Bornet <Olivier.Bornet@puck.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/iuu_phoenix.c

index 6138c1cda35ff00a94383da4d0be4002a257d19d..8dc6058be571b87183b4501aa1233ef120f06851 100644 (file)
@@ -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);
        }
 }