Skip to content

Commit

Permalink
USB: iuu_phoenix: Don't reset the device at close
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Olivier Bornet authored and Greg Kroah-Hartman committed Sep 23, 2009
1 parent 4143d17 commit 2704393
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/usb/serial/iuu_phoenix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 2704393

Please sign in to comment.