summaryrefslogtreecommitdiff
path: root/.github/workflows/codeql.yml
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2025-10-02 13:54:01 +0200
committerHiFiPhile <[email protected]>2025-10-02 14:48:55 +0200
commite0a589cdcae6eaf790d05712a6f2b8c0352fb5fd (patch)
treee2335d3e3236b07b0654ed0e1c7565747e60bb4c /.github/workflows/codeql.yml
parent152d25ed621393a991561b7de61c2f01bbadeb71 (diff)
dwc2: support ISO IN transfer when bInterval > 1
dwc2 requires manually toggle Even/Odd bit manually for ISO IN transfer, that's poses a problem when bInterval > 1 mainly for audio class, as the moment the transfer is scheduled, we don't know when the host will issue IN token (bInterval vs bRefresh schenanigans). Linux driver use NAK interrupt to detect when the host is sending IN token and toggle the Even/Odd bit accordingly based on the current frame number and bInterval. However on ST's stripped down DWC2 FS controller (e.g STM32F4, STM32F7), NAK interrupt is not supported, even it's marked as always present in DWC2 databook. NAK interrupt is only supported on HS controller with external PHY. Instead I schedule all ISO IN transfer for next frame, if the transfer failed, incomplete isochronous IN transfer interrupt will be triggered and we can relaunch the transfer. Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to '.github/workflows/codeql.yml')
0 files changed, 0 insertions, 0 deletions