diff mbox series

[U-Boot] usb: musb_hcd: fix compilation error

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

Commit Message

Jean-Jacques Hiblot Sept. 11, 2019, 7:44 a.m. UTC
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(-)

Comments

Marek Vasut Sept. 11, 2019, 8:11 a.m. UTC | #1
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 mbox series

Patch

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);