diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2005-10-24 15:33:03 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 16:47:51 -0700 |
commit | 0e6c8e8db508fcb292836b23d039649c5de29090 (patch) | |
tree | 5a65aa48c6dbc5c81d1665802d4e632c64b850e3 /fs/jffs/jffs_fm.c | |
parent | be69e5b1900a19a545becda822b18d6f09168ba5 (diff) |
[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 'fs/jffs/jffs_fm.c')
0 files changed, 0 insertions, 0 deletions