linux/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
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
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
notify.c
otg_whitelist.h
quirks.c
sysfs.c
urb.c
usb.c USB: make ksuspend_usbd thread non-freezable 2008-02-01 14:34:51 -08:00
usb.h