Message ID | 20190911074410.1407-1-jjhiblot@ti.com |
---|---|
State | Accepted |
Commit | e3e5825d0143c2b24583d256ef111ae9344382a2 |
Delegated to: | Marek Vasut |
Headers | show |
Series | [U-Boot] usb: musb_hcd: fix compilation error | expand |
On 9/11/19 9:44 AM, Jean-Jacques Hiblot wrote: > 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> > --- > > This patch is intended only for the u-boot-usb tree. Applied, thanks.
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);
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> --- This patch is intended only for the u-boot-usb tree. drivers/usb/musb/musb_hcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)