android_kernel_xiaomi_sm7250/drivers/usb/core
Alan Stern 0e6c8e8db5 [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>
2005-10-28 16:47:51 -07:00
..
buffer.c [PATCH] gfp_t: drivers/usb 2005-10-28 08:16:49 -07:00
config.c [PATCH] USB: fix up some sparse warnings about static functions that aren't static. 2005-04-18 17:39:24 -07:00
devices.c [PATCH] make driver's name be const char * 2005-06-20 15:15:01 -07:00
devio.c [PATCH] usb: Patch for USBDEVFS_IOCTL from 32-bit programs 2005-10-28 16:47:46 -07:00
file.c [PATCH] devfs: Remove the mode field from usb_class_driver as it's no longer needed 2005-10-28 16:47:37 -07:00
hcd-pci.c [PATCH] usbcore PCI glue updates for PM 2005-10-28 16:47:40 -07:00
hcd.c [PATCH] USB: convert usbmon to use usb notifiers 2005-10-28 16:47:46 -07:00
hcd.h [PATCH] USB: convert usbmon to use usb notifiers 2005-10-28 16:47:46 -07:00
hub.c [PATCH] USB: convert usbfs/inode.c to use usb notifiers 2005-10-28 16:47:46 -07:00
hub.h [PATCH] USB: make wHubCharacteristics __le16 to match other usb descriptor fields 2005-10-28 16:47:42 -07:00
inode.c [PATCH] USB: convert usbfs/inode.c to use usb notifiers 2005-10-28 16:47:46 -07:00
Kconfig [PATCH] root hub updates (greater half) 2005-10-28 16:47:40 -07:00
Makefile [PATCH] USB: add notifier functions to the USB core for devices and busses 2005-10-28 16:47:46 -07:00
message.c [PATCH] usbcore: endpoint attributes track altsetting changes 2005-10-28 16:47:51 -07:00
notify.c [PATCH] USB: add notifier functions to the USB core for devices and busses 2005-10-28 16:47:46 -07:00
otg_whitelist.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysfs.c [PATCH] usbcore: Improve endpoint sysfs file handling 2005-10-28 16:47:50 -07:00
urb.c [PATCH] updates for "controller suspended" handling 2005-10-28 16:47:41 -07:00
usb.c [PATCH] USB: always export interface information for modalias 2005-10-28 16:47:48 -07:00
usb.h [PATCH] USB: convert usbfs/devio.c to use usb notifiers 2005-10-28 16:47:46 -07:00