Hi, On Sun, Nov 13, 2011 at 10:18:51PM -0800, Kuninori Morimoto wrote: > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> > --- > drivers/usb/renesas_usbhs/mod_gadget.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/drivers/usb/renesas_usbhs/mod_gadget.c b/drivers/usb/renesas_usbhs/mod_gadget.c > index 44a6118..37845aa 100644 > --- a/drivers/usb/renesas_usbhs/mod_gadget.c > +++ b/drivers/usb/renesas_usbhs/mod_gadget.c > @@ -515,6 +515,9 @@ static int usbhsg_ep_disable(struct usb_ep *ep) > { > struct usbhsg_uep *uep = usbhsg_ep_to_uep(ep); > > + if (!uep->pipe) > + return 0; on commit log you need to let me (and everybody else) when this can actually happen. I'm stopping accepting patches without commit logs, specially for anything other than an indentation fix :-) -- balbi
Attachment:
signature.asc
Description: Digital signature