Re: [PATCH v2 03/10] usb: dwc2/gadget: fix gadget unregistration in udc_stop() function

2014-10-23 Thread Felipe Balbi
On Mon, Oct 20, 2014 at 12:45:33PM +0200, Marek Szyprowski wrote: udc_stop() should clear -driver pointer unconditionally to let the UDC framework to work correctly with both registering/unregistering gadgets and enabling/disabling gadgets by writing to /sys/class/udc/*hsotg/soft_connect

RE: [PATCH v2 03/10] usb: dwc2/gadget: fix gadget unregistration in udc_stop() function

2014-10-23 Thread Paul Zimmerman
From: Felipe Balbi [mailto:ba...@ti.com] Sent: Thursday, October 23, 2014 8:02 AM On Mon, Oct 20, 2014 at 12:45:33PM +0200, Marek Szyprowski wrote: udc_stop() should clear -driver pointer unconditionally to let the UDC framework to work correctly with both registering/unregistering

Re: [PATCH v2 03/10] usb: dwc2/gadget: fix gadget unregistration in udc_stop() function

2014-10-23 Thread Felipe Balbi
On Thu, Oct 23, 2014 at 06:18:51PM +, Paul Zimmerman wrote: From: Felipe Balbi [mailto:ba...@ti.com] Sent: Thursday, October 23, 2014 8:02 AM On Mon, Oct 20, 2014 at 12:45:33PM +0200, Marek Szyprowski wrote: udc_stop() should clear -driver pointer unconditionally to let the UDC