Skip to content

STM32 UDC: fix transmission on halted endpoints #93796

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

marwaiehm-st
Copy link
Contributor

@marwaiehm-st marwaiehm-st commented Jul 28, 2025

  • Manage endpoint halt state explicitly in set/clear halt functions.
  • Prevent transmissions on halted endpoints n enqueue function.
  • Trigger retransmission post-halt clearance if applicable.

Fixes: #91483
This fix is based on the patch by @jfischer-no : #91067 (comment)

@marwaiehm-st marwaiehm-st force-pushed the usb/stm32/msc-ep-halt-recovery branch from 7a2b243 to 6045959 Compare July 29, 2025 08:10
Manage endpoint halt state explicitly in set/clear
halt functions.
Prevent transmissions on halted endpoints
in enqueue function.
Trigger retransmission post-halt clearance
if applicable.

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
@marwaiehm-st marwaiehm-st force-pushed the usb/stm32/msc-ep-halt-recovery branch from 6045959 to 8872a8f Compare July 29, 2025 08:19
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: USB Universal Serial Bus platform: STM32 ST Micro STM32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

drivers: USB MSC: STM32U585: can't pass Compliance Test by using USB3CV
3 participants