patch-2.4.4 linux/drivers/usb/devio.c
Next file: linux/drivers/usb/hid.c
Previous file: linux/drivers/usb/dc2xx.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Fri Apr 6 15:51:50 2001
- Orig file:
v2.4.3/linux/drivers/usb/devio.c
- Orig date:
Fri Mar 23 11:50:01 2001
diff -u --recursive --new-file v2.4.3/linux/drivers/usb/devio.c linux/drivers/usb/devio.c
@@ -175,6 +175,7 @@
return NULL;
memset(as, 0, assize);
as->urb.number_of_packets = numisoframes;
+ spin_lock_init(&as->urb.lock);
return as;
}
@@ -250,10 +251,6 @@
struct dev_state *ps = as->ps;
struct siginfo sinfo;
-#if 1
- printk(KERN_DEBUG "usbdevfs: async_completed: status %d errcount %d actlen %d pipe 0x%x\n",
- urb->status, urb->error_count, urb->actual_length, urb->pipe);
-#endif
spin_lock(&ps->lock);
list_del(&as->asynclist);
list_add_tail(&as->asynclist, &ps->async_completed);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)