From c203be140ce16a8d0e1637b5234d6965a1f4b102 Mon Sep 17 00:00:00 2001 From: Jean-Jacques Hiblot Date: Wed, 11 Sep 2019 09:44:10 +0200 Subject: [PATCH] UPSTREAM: 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 Change-Id: I54ead50fdf48f1936caca65e64a61486745f4723 Signed-off-by: Jean-Jacques Hiblot Signed-off-by: Frank Wang (cherry picked from commit e3e5825d0143c2b24583d256ef111ae9344382a2) --- drivers/usb/musb/musb_hcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/musb/musb_hcd.c b/drivers/usb/musb/musb_hcd.c index fee0848ade..82fcb76081 100644 --- a/drivers/usb/musb/musb_hcd.c +++ b/drivers/usb/musb/musb_hcd.c @@ -1056,8 +1056,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);