esp-idf/components/usb
Darian Leung 507880fa32
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'
2024-02-27 18:16:00 +08:00
..
include usb_host: Run formatting script 2023-07-15 12:56:45 +02:00
private_include change(usb/host): Remove data buffer headers from URBs 2024-02-27 18:15:59 +08:00
test_apps usb_host: Use up-to-date syntax in pytest 2023-04-21 15:45:42 +08:00
.build-test-rules.yml usb: Refactor USB Host tests 2022-11-30 18:12:54 +01:00
CMakeLists.txt usb_host: Rename struct/ll/hal files to use "usb_dwc" prefix 2022-09-16 16:45:26 +08:00
hcd_dwc.c fix(usb/host): remove bInterval verification during pipe opening for INTR and ISOC EPs 2023-11-28 22:00:54 +01:00
hub.c change(usb/host): Remove data buffer headers from URBs 2024-02-27 18:15:59 +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-07-15 12:56:45 +02:00
usb_host.c change(usb/host): Remove some handler function event flags 2024-02-27 18:16:00 +08:00
usb_phy.c fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad 2023-11-16 20:03:30 +08:00
usb_private.c change(usb/host): Remove data buffer headers from URBs 2024-02-27 18:15:59 +08:00
usbh.c bugfix(usb/host): Fix transfer direction determination during argument checking for regular EP transfer 2023-09-13 21:51:24 +02:00