speedtch usbatm.c,1.18,1.19
Duncan Sands
duncan at infradead.org
Fri Apr 15 04:49:54 EDT 2005
Update of /home/cvs/speedtch
In directory phoenix.infradead.org:/tmp/cvs-serv8123
Modified Files:
usbatm.c
Log Message:
Zero out driver_data after calling unbind - may catch some bugs.
Index: usbatm.c
===================================================================
RCS file: /home/cvs/speedtch/usbatm.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- usbatm.c 14 Apr 2005 15:57:27 -0000 1.18
+++ usbatm.c 15 Apr 2005 08:49:51 -0000 1.19
@@ -1253,6 +1253,8 @@
if (instance->driver->unbind)
instance->driver->unbind(instance, intf);
+ instance->driver_data = NULL;
+
/* receive finalize */
for (i = 0; i < num_rcv_urbs; i++)
More information about the Usbatm-commits
mailing list