summaryrefslogtreecommitdiffstats
path: root/include/usb/usb.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-09-19 14:15:45 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-09-20 21:12:46 +0200
commit06031b334257c14578588312f16e7d9ed2abbec7 (patch)
tree3f257defdbd2d59a3a3f25039cd4c6644b6795b1 /include/usb/usb.h
parent8026b62dc4f8e0840ec175a60981d3b05345e8ef (diff)
downloadbarebox-06031b334257c14578588312f16e7d9ed2abbec7.tar.gz
barebox-06031b334257c14578588312f16e7d9ed2abbec7.tar.xz
usb: honour timeout fields
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/usb/usb.h')
-rw-r--r--include/usb/usb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/usb/usb.h b/include/usb/usb.h
index 6ef9977497..67157863f7 100644
--- a/include/usb/usb.h
+++ b/include/usb/usb.h
@@ -205,9 +205,9 @@ struct usb_host {
int (*init)(struct usb_host *);
int (*exit)(struct usb_host *);
int (*submit_bulk_msg)(struct usb_device *dev, unsigned long pipe,
- void *buffer, int transfer_len);
+ void *buffer, int transfer_len, int timeout);
int (*submit_control_msg)(struct usb_device *dev, unsigned long pipe, void *buffer,
- int transfer_len, struct devrequest *setup);
+ int transfer_len, struct devrequest *setup, int timeout);
int (*submit_int_msg)(struct usb_device *dev, unsigned long pipe, void *buffer,
int transfer_len, int interval);
void (*usb_event_poll)(void);