Skip to content

Commit e615331

Browse files
committed
[nrf fromtree] drivers: udc_dwc2: Disable endpoints asynchronously
Do not synchronously wait for endpoint interrupt bits when disarming endpoints. Introduce ep_disabled k_event that makes it possible for application to wait for the action to take effect which is necessary when handling SetFeature(ENDPOINT_HALT) or SetInterface() requests. This change improves incomplete iso IN and OUT handling performance, especially when there are multiple isochronous endpoints that need servicing. Signed-off-by: Tomasz Moń <[email protected]> (cherry picked from commit d29719e)
1 parent 714acd6 commit e615331

File tree

1 file changed

+146
-84
lines changed

1 file changed

+146
-84
lines changed

0 commit comments

Comments
 (0)