Re: [PATCH v6 22/25] usb: chipidea: Drop lock across event_notify during gadget stop

2017-01-02 Thread Peter Chen
On Wed, Dec 28, 2016 at 02:57:08PM -0800, Stephen Boyd wrote: > The CI_HDRC_CONTROLLER_STOPPED_EVENT may want to call sleeping > APIs similar to how _gadget_stop_activity() may. Let's drop the > lock across the event so that glue drivers can make sleeping > calls. > > Cc: Peter Chen > Cc: Greg Kr

[PATCH v6 22/25] usb: chipidea: Drop lock across event_notify during gadget stop

2016-12-28 Thread Stephen Boyd
The CI_HDRC_CONTROLLER_STOPPED_EVENT may want to call sleeping APIs similar to how _gadget_stop_activity() may. Let's drop the lock across the event so that glue drivers can make sleeping calls. Cc: Peter Chen Cc: Greg Kroah-Hartman Signed-off-by: Stephen Boyd --- drivers/usb/chipidea/udc.c |