summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorOlivier Bornet <Olivier.Bornet@puck.ch>2009-08-18 21:05:53 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-23 06:46:35 -0700
commit27043930b573fc57923c7494d50933efb2e40138 (patch)
treedd65e4c71817d1cd5f6c605955e0072c68c9bd2b /drivers/usb
parent4143d178e7b39c00d5277040c69a1522c4d98871 (diff)
downloadop-kernel-dev-27043930b573fc57923c7494d50933efb2e40138.zip
op-kernel-dev-27043930b573fc57923c7494d50933efb2e40138.tar.gz
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: Olivier Bornet <Olivier.Bornet@puck.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/serial/iuu_phoenix.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/serial/iuu_phoenix.c b/drivers/usb/serial/iuu_phoenix.c
index 6138c1c..8dc6058 100644
--- a/drivers/usb/serial/iuu_phoenix.c
+++ b/drivers/usb/serial/iuu_phoenix.c
@@ -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);
}
}
OpenPOWER on IntegriCloud