summaryrefslogtreecommitdiff
path: root/include/usb.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-01-11 20:38:28 +0100
committerMarek Vasut <marex@denx.de>2015-01-18 12:31:35 +0100
commit8bb6c1d1e0ac3692df1b83eaeee42541c09e09fc (patch)
tree028ca3d623d265269a1723152361d6025ae8bb47 /include/usb.h
parenta1d31077d06d47233d2bd7002cf65d5ee9b5e501 (diff)
downloadu-boot-imx-8bb6c1d1e0ac3692df1b83eaeee42541c09e09fc.zip
u-boot-imx-8bb6c1d1e0ac3692df1b83eaeee42541c09e09fc.tar.gz
u-boot-imx-8bb6c1d1e0ac3692df1b83eaeee42541c09e09fc.tar.bz2
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>
Diffstat (limited to 'include/usb.h')
-rw-r--r--include/usb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb.h b/include/usb.h
index d3c7415..3d33b2d 100644
--- a/include/usb.h
+++ b/include/usb.h
@@ -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