diff options
| author | HiFiPhile <[email protected]> | 2025-04-06 14:05:28 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-06 14:05:28 +0200 |
| commit | 42213eff2b4f6583773caac8a4d7c450be31f30a (patch) | |
| tree | eaa915b1050ab261d56532e01c06f494d13b6916 | |
| parent | 60e6d53d10082df884819c3958e621a2e1e0a214 (diff) | |
| parent | 255ccf26ea29eb16be41f7715426c10be69b6e30 (diff) | |
Merge pull request #3063 from maximevince/dwc2-host-fix-sof-flag
dwc2/host: clear SOF flag in handle_sof_irq()
| -rw-r--r-- | src/portable/synopsys/dwc2/hcd_dwc2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/portable/synopsys/dwc2/hcd_dwc2.c b/src/portable/synopsys/dwc2/hcd_dwc2.c index f0cea529e..7cbef05b7 100644 --- a/src/portable/synopsys/dwc2/hcd_dwc2.c +++ b/src/portable/synopsys/dwc2/hcd_dwc2.c @@ -1182,6 +1182,7 @@ static void handle_channel_irq(uint8_t rhport, bool in_isr) { static bool handle_sof_irq(uint8_t rhport, bool in_isr) { (void) in_isr; dwc2_regs_t* dwc2 = DWC2_REG(rhport); + dwc2->gintsts = GINTSTS_SOF; // Clear the SOF interrupt flag bool more_isr = false; |
