esp-idf/components/usb
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
..
include usb: Fix how the HCD handles sudden disconnection 2021-11-11 16:25:01 +08:00
private_include usb: Fix USBH handling of disconnections 2021-11-11 16:26:09 +08:00
test usb: Fix how the HCD handles sudden disconnection 2021-11-11 16:25:01 +08:00
CMakeLists.txt usb: Add usb_phy driver to support operations on USB PHY 2021-09-13 12:39:56 +08:00
hcd.c usb: Fix how the HCD handles sudden disconnection 2021-11-11 16:25:01 +08:00
hub.c Add USB Host Library 2021-08-24 23:28:00 +08:00
Kconfig Add USB Host Library 2021-08-24 23:28:00 +08:00
maintainers.md usb: Fix how the HCD handles sudden disconnection 2021-11-11 16:25:01 +08:00
usb_helpers.c Add USB Host Library API docs 2021-09-02 18:40:24 +08:00
usb_host.c Add USB Host Library API docs 2021-09-02 18:40:24 +08:00
usb_phy.c usb: Add usb_phy driver to support operations on USB PHY 2021-09-13 12:39:56 +08:00
usb_private.c Add USB Host Library 2021-08-24 23:28:00 +08:00
usbh.c usb: Fix USBH handling of disconnections 2021-11-11 16:26:09 +08:00