Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248753
b: refs/heads/master
c: f429ea3
h: refs/heads/master
i:
  248751: ea2b3e1
v: v3
  • Loading branch information
Kuninori Morimoto authored and Greg Kroah-Hartman committed Apr 30, 2011
1 parent a517ae6 commit a963157
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: af32fe511374f17feb137d7fbfe2f4c73a8f531c
refs/heads/master: f429ea3f3488e1a0683f6f9ce76b420b5ebd2d63
5 changes: 4 additions & 1 deletion trunk/drivers/usb/renesas_usbhs/pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit a963157

Please sign in to comment.