Skip to content

Conversation

@jfischer-no
Copy link
Contributor

This fixes an incompliant behavior of not resetting the endpoint to defaults, e.g. DATA PID, on SetInterface. Observed with the testusb tool when testing some UDC drivers.

Do not report canceled transfers as an error and continue the transfers
regardless of the previous transfer status.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
@jfischer-no jfischer-no added area: USB Universal Serial Bus Experimental Experimental features not enabled by default labels Mar 22, 2025
Copy link
Contributor

@tmon-nordic tmon-nordic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: "alsways" -> "always"

Disable/enable endpoints even if the new alternate is the same as the
current one, forcing the endpoint to reset to defaults.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
@jfischer-no jfischer-no force-pushed the pr-device_next_reset_endpoints branch from b947004 to 6c66e64 Compare March 25, 2025 08:15
@kartben kartben merged commit 21f4a7d into zephyrproject-rtos:main Mar 26, 2025
25 checks passed
@jfischer-no jfischer-no deleted the pr-device_next_reset_endpoints branch March 27, 2025 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: USB Universal Serial Bus Experimental Experimental features not enabled by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants