dwc2/host: clear SOF flag in handle_sof_irq()

This commit is contained in:
Maxime Vincent 2025-04-04 14:21:20 +02:00
parent 8c1802e41d
commit 255ccf26ea
No known key found for this signature in database
GPG Key ID: B5A70D71BAF4CC04

View File

@ -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;