usb: dwc2: Disable all EP's on disconnect

From: Minas Harutyunyan <hidden>
Date: 2018-09-20 10:21:26

Hi Dan,

On 9/20/2018 1:49 PM, Dan Carpenter wrote:
is is obviously deliberate that we drop the other thread's lock and
then take it ourselves.  But I don't think that can be right at all.
How do we know that it's safe for the other thread to drop the lock?

There should at least be a long comment in front of the code explaining
why it's safe to steal the lock like this.
Please review patch version 2: "[PATCH v2] usb: dwc2: Disable all EP's 
on disconnect"
Thanks,
Minas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help