Darian Leung 0a948594cb usb: Fix USBH handling of disconnections
This commit fixes how the USBH handling of a sudden device disconnection,
more specifically handling of device gone.
- Previously the USBH would only halt, flush, and dequeue the device's
default EP, then send a device gone event to the Host Library layer.
- Now the USBH will also halt and flush all non-default EPs, allowing
all of the URBs to be dequeud.
- Some internal object members are now protected by a mutex instead of
a spinlock.

Closes https://github.com/espressif/esp-idf/issues/7505
2021-11-11 16:26:09 +08:00
..
2021-08-24 23:28:00 +08:00
2021-08-24 23:28:00 +08:00
2021-09-02 18:40:24 +08:00
2021-09-02 18:40:24 +08:00
2021-08-24 23:28:00 +08:00