mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
usb: Add an interval parameter to create_int_queue
Currently create_int_queue is only implemented by the ehci code, and that does not honor interrupt intervals, but other drivers which might also want to implement create_int_queue may honor intervals, so add an interval param. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
a1d31077d0
commit
8bb6c1d1e0
3 changed files with 7 additions and 5 deletions
|
@ -169,7 +169,7 @@ int submit_int_msg(struct usb_device *dev, unsigned long pipe, void *buffer,
|
|||
|
||||
#ifdef CONFIG_USB_EHCI /* Only the ehci code has pollable int support */
|
||||
struct int_queue *create_int_queue(struct usb_device *dev, unsigned long pipe,
|
||||
int queuesize, int elementsize, void *buffer);
|
||||
int queuesize, int elementsize, void *buffer, int interval);
|
||||
int destroy_int_queue(struct usb_device *dev, struct int_queue *queue);
|
||||
void *poll_int_queue(struct usb_device *dev, struct int_queue *queue);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue