[U-Boot] [PATCH 2/8] usb: sl811-hcd: return -ENOTSUPP from unimplemented submit_int_msg

Michal Suchanek msuchanek at suse.de
Mon Jul 1 15:56:39 UTC 2019


Signed-off-by: Michal Suchanek <msuchanek at suse.de>
---
 drivers/usb/host/sl811-hcd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c
index daba0dcd1aee..4fd2ad464312 100644
--- a/drivers/usb/host/sl811-hcd.c
+++ b/drivers/usb/host/sl811-hcd.c
@@ -388,7 +388,7 @@ int submit_int_msg(struct usb_device *dev, unsigned long pipe, void *buffer,
 {
 	PDEBUG(0, "dev = %p pipe = %#lx buf = %p size = %d int = %d\n", dev, pipe,
 	       buffer, len, interval);
-	return -1;
+	return -ENOTSUPP;
 }
 
 /*
-- 
2.21.0



More information about the U-Boot mailing list