diff options
-rw-r--r-- | drivers/usb/renesas_usbhs/pipe.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/usb/renesas_usbhs/pipe.c b/drivers/usb/renesas_usbhs/pipe.c index 4852c073e2f5..5897ddad05f2 100644 --- a/drivers/usb/renesas_usbhs/pipe.c +++ b/drivers/usb/renesas_usbhs/pipe.c | |||
@@ -758,8 +758,11 @@ struct usbhs_pipe *usbhs_pipe_malloc(struct usbhs_priv *priv, | |||
758 | u16 pipecfg, pipebuf, pipemaxp; | 758 | u16 pipecfg, pipebuf, pipemaxp; |
759 | 759 | ||
760 | pipe = usbhsp_get_pipe(priv, usb_endpoint_type(desc)); | 760 | pipe = usbhsp_get_pipe(priv, usb_endpoint_type(desc)); |
761 | if (!pipe) | 761 | if (!pipe) { |
762 | dev_err(dev, "can't get pipe (%s)\n", | ||
763 | usbhsp_pipe_name[usb_endpoint_type(desc)]); | ||
762 | return NULL; | 764 | return NULL; |
765 | } | ||
763 | 766 | ||
764 | usbhs_fifo_disable(pipe); | 767 | usbhs_fifo_disable(pipe); |
765 | 768 | ||