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 cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
config.c usb: usb_get_configuration() obeys authorization 2007-10-12 14:55:06 -07:00
devices.c USB: add IAD support to usbfs and sysfs 2007-07-12 16:34:40 -07:00
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 USB: prevent char device open/deregister race 2007-07-12 16:29:48 -07:00
generic.c USB: move decision to ignore FREEZE events 2007-10-12 14:55:26 -07:00
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 USB: Move private hub declarations out of public header file 2006-12-01 14:23:30 -08:00
inode.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
Kconfig USB: always announce a device has been added to the system 2008-02-01 14:34:52 -08:00
Makefile USB: add a blacklist for devices that can't handle some things we throw at them. 2007-02-23 15:03:46 -08:00
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 USB: Fix apparent typo CONFIG_USB_CDCETHER. 2007-02-16 15:32:18 -08:00
quirks.c USB: remove USB_QUIRK_NO_AUTOSUSPEND 2007-10-12 14:55:28 -07:00
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 USB: rename choose_configuration 2007-10-12 14:55:08 -07:00