Re: [PATCH] usb: dwc3: gadget: Add the suspend state checking when stopping gadget

2016-06-20 Thread Baolin Wang
On 20 June 2016 at 16:15, Felipe Balbi wrote: > Baolin Wang writes: > >> It will be crash to stop gadget when the dwc3 device had been into suspend >> state, thus we need to check if the dwc3 device had been into suspend state >> when UDC try to stop

Re: [PATCH] usb: dwc3: gadget: Add the suspend state checking when stopping gadget

2016-06-20 Thread Baolin Wang
On 20 June 2016 at 16:15, Felipe Balbi wrote: > Baolin Wang writes: > >> It will be crash to stop gadget when the dwc3 device had been into suspend >> state, thus we need to check if the dwc3 device had been into suspend state >> when UDC try to stop gadget. >> >> By the way I have rebased on

Re: [PATCH] usb: dwc3: gadget: Add the suspend state checking when stopping gadget

2016-06-20 Thread Felipe Balbi
Baolin Wang writes: > It will be crash to stop gadget when the dwc3 device had been into suspend > state, thus we need to check if the dwc3 device had been into suspend state > when UDC try to stop gadget. > > By the way I have rebased on your 'testing/next' branch. do

Re: [PATCH] usb: dwc3: gadget: Add the suspend state checking when stopping gadget

2016-06-20 Thread Felipe Balbi
Baolin Wang writes: > It will be crash to stop gadget when the dwc3 device had been into suspend > state, thus we need to check if the dwc3 device had been into suspend state > when UDC try to stop gadget. > > By the way I have rebased on your 'testing/next' branch. do you really want this note

[PATCH] usb: dwc3: gadget: Add the suspend state checking when stopping gadget

2016-06-17 Thread Baolin Wang
It will be crash to stop gadget when the dwc3 device had been into suspend state, thus we need to check if the dwc3 device had been into suspend state when UDC try to stop gadget. By the way I have rebased on your 'testing/next' branch. Signed-off-by: Baolin Wang ---

[PATCH] usb: dwc3: gadget: Add the suspend state checking when stopping gadget

2016-06-17 Thread Baolin Wang
It will be crash to stop gadget when the dwc3 device had been into suspend state, thus we need to check if the dwc3 device had been into suspend state when UDC try to stop gadget. By the way I have rebased on your 'testing/next' branch. Signed-off-by: Baolin Wang --- drivers/usb/dwc3/gadget.c