diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-10-31 08:47:24 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-12-12 10:45:03 +0100 |
commit | fca8ab7ee1c6d1857a4fcc9420cbf0e3b51aa199 (patch) | |
tree | b1530ccfc06539d2f1ee6a3f0b5bea7791650bea /drivers/usb/renesas_usbhs | |
parent | usb: gadget: renesas_usbhs: modify function name of usbhs_set_device_xx() (diff) | |
download | linux-fca8ab7ee1c6d1857a4fcc9420cbf0e3b51aa199.tar.xz linux-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>
Diffstat (limited to 'drivers/usb/renesas_usbhs')
-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, |