[U-Boot] [PATCH 1/8] usb: r8a66597: return -ENOTSUPP from unimplemented submit_int_msg
Michal Suchanek
msuchanek at suse.de
Mon Jul 1 15:56:38 UTC 2019
---
drivers/usb/host/r8a66597-hcd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c
index 3c263e51c160..7b699d3f4788 100644
--- a/drivers/usb/host/r8a66597-hcd.c
+++ b/drivers/usb/host/r8a66597-hcd.c
@@ -826,7 +826,7 @@ int submit_int_msg(struct usb_device *dev, unsigned long pipe, void *buffer,
{
/* no implement */
R8A66597_DPRINT("%s\n", __func__);
- return 0;
+ return -ENOTSUPP;
}
int usb_lowlevel_init(int index, enum usb_init_type init, void **controller)
--
2.21.0
More information about the U-Boot
mailing list