Hi, On Thu, Feb 09, 2012 at 02:04:29PM +0200, Ido Shayevitz wrote: > diff --git a/drivers/usb/gadget/ci13xxx_udc.c b/drivers/usb/gadget/ci13xxx_udc.c > index 9e89289..b648852 100644 > --- a/drivers/usb/gadget/ci13xxx_udc.c > +++ b/drivers/usb/gadget/ci13xxx_udc.c > @@ -1916,7 +1916,7 @@ __acquires(udc->lock) > int type, num, dir, err = -EINVAL; > struct usb_ctrlrequest req; > > - if (mEp->desc == NULL) > + if (mEp->ep.desc == NULL) > continue; /* not configured */ > > if (hw_test_and_clear_complete(i)) { > @@ -2109,7 +2109,7 @@ static int ep_enable(struct usb_ep *ep, > > /* only internal SW should enable ctrl endpts */ > > - mEp->desc = desc; > + mEp->ep.desc = desc; same here. -- balbi
Attachment:
signature.asc
Description: Digital signature