projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dd4926
)
usb: gadget: renesas_usbhs: cleanup usbhs_endpoint_disable()
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Mon, 31 Oct 2011 07:47:24 +0000
(
00:47
-0700)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 12 Dec 2011 09:45:03 +0000
(11:45 +0200)
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/renesas_usbhs/mod_host.c
patch
|
blob
|
history
diff --git
a/drivers/usb/renesas_usbhs/mod_host.c
b/drivers/usb/renesas_usbhs/mod_host.c
index 7fa460e2a8c010e7508eeb53d3b50caa74597715..f18062c798a3b921bc46a7162e95b5e0b53a315b 100644
(file)
--- a/
drivers/usb/renesas_usbhs/mod_host.c
+++ b/
drivers/usb/renesas_usbhs/mod_host.c
@@
-822,7
+822,7
@@
static void usbhsh_endpoint_disable(struct usb_hcd *hcd,
/*
* this function might be called manytimes by same hcd/ep
- * in-endpoi
tn
== out-endpoint if ep == dcp.
+ * in-endpoi
nt
== out-endpoint if ep == dcp.
*/
if (!uep)
return;
@@
-831,7
+831,6
@@
static void usbhsh_endpoint_disable(struct usb_hcd *hcd,
hpriv = usbhsh_hcd_to_hpriv(hcd);
usbhsh_endpoint_free(hpriv, ep);
- ep->hcpriv = NULL;
/*
* if there is no endpoint,