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
private_include change(usb/host): Remove data buffer headers from URBs 2023-11-24 20:57:03 +08:00
test_apps
CMakeLists.txt
Kconfig
hcd_dwc.c
hub.c change(usb/host): Remove data buffer headers from URBs 2023-11-24 20:57:03 +08:00
maintainers.md
usb_helpers.c
usb_host.c change(usb/host): Remove some handler function event flags 2023-11-24 22:08:57 +08:00
usb_phy.c
usb_private.c change(usb/host): Remove data buffer headers from URBs 2023-11-24 20:57:03 +08:00
usbh.c