Re: [PATCH 1/4] usb: chipidea: switch over to endpoint feature flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 06, 2014 at 08:55:55AM +0000, Peter Chen wrote:
> 
> 
>  
> > switch over to endpoint feature flags so we can drop naming conventions.
> > 
> > Signed-off-by: Felipe Balbi <balbi@xxxxxx>
> > ---
> >  drivers/usb/chipidea/udc.c | 7 +++++++
> >  1 file changed, 7 insertions(+)
> > 
> > diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
> > index 80de2f8..e80dc82 100644
> > --- a/drivers/usb/chipidea/udc.c
> > +++ b/drivers/usb/chipidea/udc.c
> > @@ -1576,6 +1576,13 @@ static int init_eps(struct ci_hdrc *ci)
> > 
> >  			hwep->ep.name      = hwep->name;
> >  			hwep->ep.ops       = &usb_ep_ops;
> > +
> > +			hwep->ep.has_bulk = true;
> > +			hwep->ep.has_interrupt = true;
> > +			hwep->ep.has_isochronous = true;
> > +			hwep->ep.has_dir_in = (j == TX);
> > +			hwep->ep.has_dir_out = (j == RX);
> > +
> >  			/*
> 
> I find your "usb: gadget: ep: add feature flags" is at Linux-next,
> but not at greg's usb-next, does it need for 3.15?

I dropped it from v3.15, will send it for v3.16

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux