diff options
| author | Maxime Vincent <[email protected]> | 2025-04-04 14:21:20 +0200 |
|---|---|---|
| committer | Maxime Vincent <[email protected]> | 2025-04-04 14:21:20 +0200 |
| commit | 255ccf26ea29eb16be41f7715426c10be69b6e30 (patch) | |
| tree | d4bcfc531caaf94ccbdf7cd65ab4d8775b2645fc | |
| parent | 8c1802e41d37c915334a19b859b24cb2a1b48ee5 (diff) | |
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; |
