summaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/devio.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2005-10-24 15:33:03 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 16:47:51 -0700
commit0e6c8e8db508fcb292836b23d039649c5de29090 (patch)
tree5a65aa48c6dbc5c81d1665802d4e632c64b850e3 /drivers/usb/core/devio.c
parentbe69e5b1900a19a545becda822b18d6f09168ba5 (diff)
downloadblackbird-obmc-linux-0e6c8e8db508fcb292836b23d039649c5de29090.tar.gz
blackbird-obmc-linux-0e6c8e8db508fcb292836b23d039649c5de29090.zip
[PATCH] usbcore: endpoint attributes track altsetting changes
This patch (as588) fixes the way endpoint attribute files are registered and unregistered. Now they will correctly track along with altsetting changes. This fixes bugzilla entry #5467. In a separate but related change, when a usb_reset_configuration call fails, the device state is not changed to USB_STATE_ADDRESS. In the first place, failure means that we don't know what the state is, not that we know the device is unconfigured. In the second place, doing this can potentially lead to a memory leak, since usbcore might not realize there still is a current configuration that needs to be destroyed. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/devio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud