diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-10-31 00:47:24 -0700 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-12-12 11:45:03 +0200 |
commit | fca8ab7ee1c6d1857a4fcc9420cbf0e3b51aa199 (patch) | |
tree | b1530ccfc06539d2f1ee6a3f0b5bea7791650bea | |
parent | 3dd492686c063f9fa9417c3888e7a8eeb504b5b9 (diff) | |
download | linux-stable-fca8ab7ee1c6d1857a4fcc9420cbf0e3b51aa199.tar.gz linux-stable-fca8ab7ee1c6d1857a4fcc9420cbf0e3b51aa199.tar.bz2 linux-stable-fca8ab7ee1c6d1857a4fcc9420cbf0e3b51aa199.zip |
usb: gadget: renesas_usbhs: cleanup usbhs_endpoint_disable()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
-rw-r--r-- | drivers/usb/renesas_usbhs/mod_host.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/renesas_usbhs/mod_host.c b/drivers/usb/renesas_usbhs/mod_host.c index 7fa460e2a8c0..f18062c798a3 100644 --- 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-endpoitn == out-endpoint if ep == dcp. + * in-endpoint == 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, |