Re: [RFC/PATCH 1/2] usb: gadget: let gadgets control pullup on their own

2013-02-06 Thread Felipe Balbi
On Wed, Feb 06, 2013 at 10:45:13AM -0500, Alan Stern wrote: > On Wed, 6 Feb 2013, Felipe Balbi wrote: > > > This is useful on gadgets that depend on userland > > daemons to function properly. We can delay connection > > to the host until userland is ready. > > > --- a/drivers/usb/gadget/udc-core.

Re: [RFC/PATCH 1/2] usb: gadget: let gadgets control pullup on their own

2013-02-06 Thread Alan Stern
On Wed, 6 Feb 2013, Felipe Balbi wrote: > This is useful on gadgets that depend on userland > daemons to function properly. We can delay connection > to the host until userland is ready. > --- a/drivers/usb/gadget/udc-core.c > +++ b/drivers/usb/gadget/udc-core.c > @@ -235,7 +235,18 @@ static void

[RFC/PATCH 1/2] usb: gadget: let gadgets control pullup on their own

2013-02-06 Thread Felipe Balbi
This is useful on gadgets that depend on userland daemons to function properly. We can delay connection to the host until userland is ready. Signed-off-by: Felipe Balbi --- drivers/usb/gadget/composite.c | 3 ++- drivers/usb/gadget/udc-core.c | 26 -- include/linux/usb/