aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/misc/ldusb.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2005-07-29 12:17:16 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-29 13:12:53 -0700
commit86d30741e480f40676c2173e1153368a4846da48 (patch)
treea30c3e34a033f71b1fbf4b96b22555f85cb641a7 /drivers/usb/misc/ldusb.c
parent4a0d73c463765ce34b22ac3924d0661caf2a7539 (diff)
[PATCH] USB: Usbcore: Don't try to delete unregistered interfaces
This patch handles a rarely-encountered failure mode in usbcore. It's legal for device_add to fail (although now it happens even more rarely than before since failure to bind a driver is no longer fatal). So when we destroy the interfaces in a configuration, we shouldn't try to delete ones which weren't successfully registered. Also, failure to register an interface shouldn't be fatal either -- I think; you may disagree about this part of the patch. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/usb/misc/ldusb.c')
0 files changed, 0 insertions, 0 deletions