usb: musb_hcd: fix compilation error
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Wed, 11 Sep 2019 07:44:10 +0000 (09:44 +0200)
committermarex <marex@chi.lan>
Wed, 11 Sep 2019 08:11:39 +0000 (10:11 +0200)
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>
drivers/usb/musb/musb_hcd.c

index 1f2805270aa3690d6a3b1d9db519e4f0986d19ba..adcd319b6d0b865f57a2201716603cd03d9f1756 100644 (file)
@@ -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);