diff options
author | Oliver Neukum <oneukum@suse.de> | 2007-05-25 15:40:56 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-13 03:29:51 +0400 |
commit | 51a2f077c44e559841b09de6da605b4d3ae40dad (patch) | |
tree | 2d4d0064994de2223abac57f7242579649717ae6 /drivers/usb/core/hcd.c | |
parent | ffcdc18d64d73ecce49c182f969977ae88ff4384 (diff) | |
download | linux-51a2f077c44e559841b09de6da605b4d3ae40dad.tar.xz |
USB: introduce usb_anchor
- introduction of usb_anchor and its methods
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/hcd.c')
-rw-r--r-- | drivers/usb/core/hcd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index c5a2f83991dc..87d6edf11f92 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c @@ -1410,6 +1410,8 @@ void usb_hcd_giveback_urb (struct usb_hcd *hcd, struct urb *urb) } usbmon_urb_complete (&hcd->self, urb); + usb_unanchor_urb(urb); + /* pass ownership to the completion handler */ urb->complete (urb); atomic_dec (&urb->use_count); |