Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f429ea3f authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Greg Kroah-Hartman
Browse files

usb: renesas_usbhs: add error reason for usbhs_pipe_malloc

parent af32fe51
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -758,8 +758,11 @@ struct usbhs_pipe *usbhs_pipe_malloc(struct usbhs_priv *priv,
	u16 pipecfg, pipebuf, pipemaxp;

	pipe = usbhsp_get_pipe(priv, usb_endpoint_type(desc));
	if (!pipe)
	if (!pipe) {
		dev_err(dev, "can't get pipe (%s)\n",
			usbhsp_pipe_name[usb_endpoint_type(desc)]);
		return NULL;
	}

	usbhs_fifo_disable(pipe);