Re: [RFC][PATCH v2 04/13] usb: gadget: add usb_gadget_start/stop()

2015-04-16 Thread Peter Chen
On Thu, Apr 16, 2015 at 03:07:41PM +0300, Roger Quadros wrote: > On 16/04/15 14:48, Peter Chen wrote: > > On Tue, Apr 14, 2015 at 01:41:51PM +0300, Roger Quadros wrote: > >> The OTG state machine needs a mechanism to start and > >> stop the gadget controller. Add usb_gadget_start() > >> and usb_gad

Re: [RFC][PATCH v2 04/13] usb: gadget: add usb_gadget_start/stop()

2015-04-16 Thread Roger Quadros
On 16/04/15 14:48, Peter Chen wrote: > On Tue, Apr 14, 2015 at 01:41:51PM +0300, Roger Quadros wrote: >> The OTG state machine needs a mechanism to start and >> stop the gadget controller. Add usb_gadget_start() >> and usb_gadget_stop(). >> >> Signed-off-by: Roger Quadros >> --- >> drivers/usb/ga

Re: [RFC][PATCH v2 04/13] usb: gadget: add usb_gadget_start/stop()

2015-04-16 Thread Peter Chen
On Tue, Apr 14, 2015 at 01:41:51PM +0300, Roger Quadros wrote: > The OTG state machine needs a mechanism to start and > stop the gadget controller. Add usb_gadget_start() > and usb_gadget_stop(). > > Signed-off-by: Roger Quadros > --- > drivers/usb/gadget/udc/udc-core.c | 74 > +

[RFC][PATCH v2 04/13] usb: gadget: add usb_gadget_start/stop()

2015-04-14 Thread Roger Quadros
The OTG state machine needs a mechanism to start and stop the gadget controller. Add usb_gadget_start() and usb_gadget_stop(). Signed-off-by: Roger Quadros --- drivers/usb/gadget/udc/udc-core.c | 74 +++ include/linux/usb/gadget.h| 3 ++ 2 files chang