mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
USB: anchor API changes needed for btusb
This extends the anchor API as btusb needs for autosuspend. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
c0f082c536
commit
1987625226
2 changed files with 73 additions and 0 deletions
|
@ -1469,6 +1469,9 @@ extern void usb_anchor_urb(struct urb *urb, struct usb_anchor *anchor);
|
|||
extern void usb_unanchor_urb(struct urb *urb);
|
||||
extern int usb_wait_anchor_empty_timeout(struct usb_anchor *anchor,
|
||||
unsigned int timeout);
|
||||
extern struct urb *usb_get_from_anchor(struct usb_anchor *anchor);
|
||||
extern void usb_scuttle_anchored_urbs(struct usb_anchor *anchor);
|
||||
extern int usb_anchor_empty(struct usb_anchor *anchor);
|
||||
|
||||
/**
|
||||
* usb_urb_dir_in - check if an URB describes an IN transfer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue