Skip to content

Commit 5b3468e

Browse files
authored
Merge pull request #3575 from gab-k/dwc2-iso-out-reset
fix ISO OUT endpoint failure on alt-setting MPS change
2 parents c64452c + e10ef26 commit 5b3468e

File tree

3 files changed

+64
-58
lines changed

3 files changed

+64
-58
lines changed

src/portable/synopsys/dwc2/dcd_dwc2.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,11 @@ static void edpt_disable(uint8_t rhport, uint8_t ep_addr, bool stall) {
345345
dwc2->dctl |= DCTL_CGONAK;
346346
}
347347
}
348+
349+
// Clear ActEP
350+
if (!stall && epnum != 0) {
351+
dep->ctl &= ~EPCTL_USBAEP;
352+
}
348353
}
349354

350355
// Since this function returns void, it is not possible to return a boolean success message

0 commit comments

Comments
 (0)