USB: fix missing error check in probing
authorOliver Neukum <oliver@neukum.org>
Thu, 27 Aug 2009 14:46:56 +0000 (16:46 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:39 +0000 (06:46 -0700)
commit1e5ea5e32043094d96ca1e501110c1fbb631f693
tree2bbf4930d45221889d100ac03f346e041aebfc2f
parent01c6460f968d7b57fc6f98adb587952628c6e099
USB: fix missing error check in probing

usb: check for IO errors usb_set_interface can return

if they happen while unbinding a flag is set to retry upon probe
if they happen during probe they are handled as probe errors

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/driver.c