From 8f287a9e8ea6073f1970a4bf6993ade3a9db620d Mon Sep 17 00:00:00 2001 From: Zixun LI Date: Wed, 29 Jul 2026 14:27:59 +0200 Subject: raw_gadget: fix MSC recovery after endpoint halt Allow opt-in DCDs to queue transfers behind a halted endpoint without changing hardware DCD behavior. Retry dummy_hcd's transient EP_SET_HALT failure, queue MSC BOT status and recovery requests behind the halt, and clean up Raw Gadget endpoint workers across bus reset. Signed-off-by: Zixun LI --- src/common/tusb_mcu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common') diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h index 7ef589bf0..a1f799ed9 100644 --- a/src/common/tusb_mcu.h +++ b/src/common/tusb_mcu.h @@ -730,6 +730,7 @@ #elif TU_CHECK_MCU(OPT_MCU_LINUX_RAW_GADGET) #define TUP_DCD_ENDPOINT_MAX 16 #define TUP_RHPORT_HIGHSPEED 1 + #define CFG_TUD_ENDPOINT_XFER_BEHIND_HALT_DEFAULT 1 #endif // External USB controller -- cgit v1.3.1