projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af32fe5
)
usb: renesas_usbhs: add error reason for usbhs_pipe_malloc
author
Kuninori Morimoto
<
[email protected]
>
Thu, 21 Apr 2011 05:10:24 +0000
(14:10 +0900)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sat, 30 Apr 2011 00:24:33 +0000
(17:24 -0700)
Signed-off-by: Kuninori Morimoto <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/renesas_usbhs/pipe.c
patch
|
blob
|
history
diff --git
a/drivers/usb/renesas_usbhs/pipe.c
b/drivers/usb/renesas_usbhs/pipe.c
index 4852c073e2f53db5895a55256373f31985e24f91..5897ddad05f23b7ab9748799ab9254530f4563c7 100644
(file)
--- 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,
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);