Skip to contentSkip to conversation

usb: dwc2: Disable all EP's on disconnect

DISCUSSION Dan Carpenter 1 participant 1 message Sep 20, 2018 USB

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines · Minas Harutyunyan

Hi Dan,

Quoted 4 lines · Dan Carpenter

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?

Quoted 5 lines
Quoted 2 lines

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"

These are automated emails from the kbuild bot. I just review them and forward them. I'm not on the list.

I'm going to trust that you fixed it in an appropriate way. :)

regards,
dan carpenter