aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/renesas_usbhs
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/renesas_usbhs')
-rw-r--r--drivers/usb/renesas_usbhs/mod_host.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/renesas_usbhs/mod_host.c b/drivers/usb/renesas_usbhs/mod_host.c
index 182bdb8e45e..c3940478327 100644
--- a/drivers/usb/renesas_usbhs/mod_host.c
+++ b/drivers/usb/renesas_usbhs/mod_host.c
@@ -760,8 +760,10 @@ static int usbhsh_urb_enqueue(struct usb_hcd *hcd,
760 */ 760 */
761 if (!usbhsh_usbv_to_udev(usbv)) { 761 if (!usbhsh_usbv_to_udev(usbv)) {
762 new_udev = usbhsh_device_attach(hpriv, urb); 762 new_udev = usbhsh_device_attach(hpriv, urb);
763 if (!new_udev) 763 if (!new_udev) {
764 ret = -EIO;
764 goto usbhsh_urb_enqueue_error_not_linked; 765 goto usbhsh_urb_enqueue_error_not_linked;
766 }
765 } 767 }
766 768
767 /* 769 /*