summaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-06-19 22:59:59 +0700
committerhathach <[email protected]>2026-06-19 22:59:59 +0700
commit9aa0ab4b675ab2c3880cb5ed440d3d04b944f77f (patch)
tree61529f88e0743ec3ba3c262709d7f1b760bec5ce /docs/reference
parenta5292288b20abbfa3990a4dbc3acf8ff650c5e5b (diff)
dcd/ch58x: drop stale EP0 transfer state on SETUP
The PID_SETUP handler armed the new control transfer but left any in-flight EP0 transfer from the previous request marked valid, so a spurious EP0 IN/OUT could run update_in()/update_out() against stale state (the removed dcd_ch58x_usbfs.c invalidated both EP0 directions on every SETUP). Clear xfer[0] IN/OUT validity when a SETUP arrives. Applies to all WCH USBFS parts -- a new SETUP always supersedes a pending control xfer. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'docs/reference')
0 files changed, 0 insertions, 0 deletions