commit | afff6067b305697dd4b3b2f2d8b2dd5da78539c8 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <stephen.boyd@linaro.org> | Wed Dec 28 14:57:08 2016 -0800 |
committer | Peter Chen <peter.chen@nxp.com> | Fri Jan 20 15:27:43 2017 +0800 |
tree | 76f7fe7b63b8fa4fb292e25d35c8208cb20889a9 | |
parent | ed04f19f28ff4900fe9d26b03e5c14600c072391 [diff] |
usb: chipidea: Drop lock across event_notify during gadget stop 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 <peter.chen@nxp.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org> Signed-off-by: Peter Chen <peter.chen@nxp.com>