speedtch usbatm.c,1.6,1.7
Duncan Sands
duncan at infradead.org
Mon Feb 7 11:22:59 EST 2005
Update of /home/cvs/speedtch
In directory phoenix.infradead.org:/tmp/cvs-serv15259
Modified Files:
usbatm.c
Log Message:
Unbind if there is a failure in probe after bind.
Index: usbatm.c
===================================================================
RCS file: /home/cvs/speedtch/usbatm.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- usbatm.c 7 Feb 2005 16:13:04 -0000 1.6
+++ usbatm.c 7 Feb 2005 16:22:56 -0000 1.7
@@ -1167,8 +1167,11 @@
error = usbatm_atm_init(instance);
}
- if (error)
+ if (error) {
+ if (instance->driver->unbind)
+ instance->driver->unbind(instance, intf);
goto fail;
+ }
usb_get_dev(dev);
usbatm_get_instance(instance); /* dropped in usbatm_usb_disconnect */
More information about the Usbatm-commits
mailing list