Skip to contentSkip to conversation

usb: musb_hcd: fix compilation error

PATCH New Jean-Jacques Hiblot 2 participants 2 messages Sep 11, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---

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(-)
drivers/usb/musb/musb_hcd.c +2 -2
index 1f2805270a..adcd319b6d 100644
@@ -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);
Signature · 1 line
2.17.1
Applied
#1 lore raw

PATCH 1/1 usb: musb_hcd: fix compilation error

Quoted 8 lines · Jean-Jacques Hiblot

commit 65c1f9820c8f79f "usb: Add nonblock argument to submit_int_msg" breaks the musb_hcd driver.
Fixing it by adding the missing argument

---

This patch is intended only for the u-boot-usb tree.

Applied, thanks.