esp-idf/components/usb
Darian Leung 095b541125 change(usb/host): Remove some handler function event flags
This commit removes internal event flags in the USB Host Library event handling
functions (i.e., usb_host_lib_handle_events() and usb_host_client_handle_events()).

Previously, these flags were added to reduce the number of times semaphores
were given. However, these flags were removed as the performance gain is
negligible and made the logic more complicated.

For usb_host_client_handle_events(), the following flags were removed:

- Remove 'events_pending' flag. The semaphore is now always given
- Remove 'blocked' flag. The 'handling_events' flag is already sufficient
- Critical sections are now shortened due to simplication of semaphore usage.

For usb_host_lib_handle_events(), the following flags were removed:

- Remove 'process_pending' flag. The semaphore is now always given
- Renamed 'blocked' flag to 'handling_events'
2023-11-24 22:08:57 +08:00
..
include usb_host: Run formatting script 2023-05-29 17:30:41 +08:00
private_include change(usb/host): Remove data buffer headers from URBs 2023-11-24 20:57:03 +08:00
test_apps fix(ci): change build-test-rules files folder 2023-09-20 19:17:06 +08:00
CMakeLists.txt refactor(gpio): make gpio driver as component, and fix astyle 2023-11-03 15:42:23 +08:00
hcd_dwc.c fix(usb/host): remove bInterval verification during pipe opening for INTR and ISOC EPs 2023-11-16 14:11:01 +01:00
hub.c change(usb/host): Remove data buffer headers from URBs 2023-11-24 20:57:03 +08:00
Kconfig usb_host: add recovering interval after SetAddress(). Possibility to change constant delay value via menuconfig. 2023-03-09 08:11:05 +01:00
maintainers.md usb: Fix how the HCD handles sudden disconnection 2021-11-02 14:30:58 +08:00
usb_helpers.c usb_host: Run formatting script 2023-05-29 17:30:41 +08:00
usb_host.c change(usb/host): Remove some handler function event flags 2023-11-24 22:08:57 +08:00
usb_phy.c fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad 2023-11-11 13:00:55 +08:00
usb_private.c change(usb/host): Remove data buffer headers from URBs 2023-11-24 20:57:03 +08:00
usbh.c bugfix(usb/host): Fix transfer direction determination during argument checking for regular EP transfer 2023-09-13 21:55:34 +02:00