diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2007-12-03 15:44:29 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-01 14:34:53 -0800 |
commit | 852c4b43bdd0953483e93bb97ca2fac7e5111dcb (patch) | |
tree | 1e39f6092a785a756f610e8dc9b9b3696c7a08eb /lib/idr.c | |
parent | 885e97478bf95b46a7cff40df49c2bb1a5503afd (diff) |
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>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions