summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJean-Jacques Hiblot <jjhiblot@ti.com>2019-09-11 09:44:10 +0200
committermarex <marex@chi.lan>2019-09-11 10:11:39 +0200
commite3e5825d0143c2b24583d256ef111ae9344382a2 (patch)
tree9caea706ded55ced9e5a1e7f05729fe246334420 /drivers
parent9dcab2c4d2cb50ab1864c818b82a72393c160236 (diff)
downloadu-boot-e3e5825d0143c2b24583d256ef111ae9344382a2.tar.gz
u-boot-e3e5825d0143c2b24583d256ef111ae9344382a2.tar.bz2
u-boot-e3e5825d0143c2b24583d256ef111ae9344382a2.zip
usb: musb_hcd: fix compilation error
commit 65c1f9820c8f79f "usb: Add nonblock argument to submit_int_msg" breaks the musb_hcd driver. Fixing it by adding the missing argument Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/musb/musb_hcd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb/musb_hcd.c b/drivers/usb/musb/musb_hcd.c
index 1f2805270a..adcd319b6d 100644
--- a/drivers/usb/musb/musb_hcd.c
+++ b/drivers/usb/musb/musb_hcd.c
@@ -1049,8 +1049,8 @@ int usb_lowlevel_stop(int index)
* This function supports usb interrupt transfers. Currently, usb interrupt
* transfers are not supported.
*/
-int submit_int_msg(struct usb_device *dev, unsigned long pipe,
- void *buffer, int len, int interval)
+int submit_int_msg(struct usb_device *dev, unsigned long pipe, void *buffer,
+ int len, int interval, bool nonblock)
{
int dir_out = usb_pipeout(pipe);
int ep = usb_pipeendpoint(pipe);