aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2008-04-10 08:07:37 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-25 00:16:50 -0400
commiteda769593bbae8aee4e336b0732f6016353301a3 (patch)
tree04b5aae8d2cf133b86527b56505c26841b9f45f8 /include/linux
parent9424ea29658ce5bcdcf527ddf9617b9507ddf1aa (diff)
USB: add extension of anchor API, usb_unlink_anchored_urbs
This adds the ability to trigger asynchronous unlinks of anchored URBs. This is needed for error handling in the comntext of completion handlers, which cannot sleep. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h
index dd9733cc0ac2..52c449e4bdcd 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -1451,6 +1451,7 @@ extern int usb_submit_urb(struct urb *urb, gfp_t mem_flags);
1451extern int usb_unlink_urb(struct urb *urb); 1451extern int usb_unlink_urb(struct urb *urb);
1452extern void usb_kill_urb(struct urb *urb); 1452extern void usb_kill_urb(struct urb *urb);
1453extern void usb_kill_anchored_urbs(struct usb_anchor *anchor); 1453extern void usb_kill_anchored_urbs(struct usb_anchor *anchor);
1454extern void usb_unlink_anchored_urbs(struct usb_anchor *anchor);
1454extern void usb_anchor_urb(struct urb *urb, struct usb_anchor *anchor); 1455extern void usb_anchor_urb(struct urb *urb, struct usb_anchor *anchor);
1455extern void usb_unanchor_urb(struct urb *urb); 1456extern void usb_unanchor_urb(struct urb *urb);
1456extern int usb_wait_anchor_empty_timeout(struct usb_anchor *anchor, 1457extern int usb_wait_anchor_empty_timeout(struct usb_anchor *anchor,