android_kernel_xiaomi_sm8350/drivers/usb/core
Alan Stern 852c4b43bd USB: updates to usb_reset_composite_device()
This patch (as1023) updates the code in usb_reset_composite_device():

	Some local variable declarations are moved to inner loops.

	The interface locks are not acquired.  This isn't necessary
	any more; its only reason was to prevent an interface from
	being suspended or resumed during the reset.  But now
	interface power management is controlled by the USB device
	lock, not by the interface lock.

	The check for whether the interface is registered is removed.
	There doesn't seem to be any reason for checking; a driver
	for a non-registered interface deserves to be informed of
	device resets just as much as any other.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-02-01 14:34:53 -08:00
..
buffer.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
config.c
devices.c
devio.c USB: repair USBDEVFS_CONNECT ioctl 2008-02-01 14:34:53 -08:00
driver.c USB: handle idVendor of 0x0000 2008-02-01 14:34:46 -08:00
endpoint.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
file.c
generic.c
hcd-pci.c USB: don't change HC power state for a FREEZE 2008-02-01 14:34:51 -08:00
hcd.c USB: Convert from class_device to device for USB core 2008-02-01 14:34:46 -08:00
hcd.h USB: force handover port to companion when hub_port_connect_change fails 2008-02-01 14:34:52 -08:00
hub.c USB: updates to usb_reset_composite_device() 2008-02-01 14:34:53 -08:00
hub.h
inode.c
Kconfig USB: always announce a device has been added to the system 2008-02-01 14:34:52 -08:00
Makefile
message.c USB: uevent environment key fix 2007-11-28 13:58:35 -08:00
notify.c USB : correct comments in usb/core/notify.c 2008-02-01 14:34:44 -08:00
otg_whitelist.h
quirks.c
sysfs.c USB: keep track of whether interface sysfs files exist 2007-11-28 13:58:35 -08:00
urb.c USB: add URB_FREE_BUFFER to permissible flags 2007-10-25 12:18:43 -07:00
usb.c USB: make ksuspend_usbd thread non-freezable 2008-02-01 14:34:51 -08:00
usb.h