Merge pull request #1352 from ETCLabs/fix-ehci-isr-status-clear-error

Updated the clearing of the status register bits to use a straight '=…
This commit is contained in:
Ha Thach
2022-02-26 18:05:59 +07:00
committed by GitHub

View File

@@ -657,7 +657,7 @@ void hcd_int_handler(uint8_t rhport)
uint32_t int_status = regs->status;
int_status &= regs->inten;
regs->status |= int_status; // Acknowledge handled interrupt
regs->status = int_status; // Acknowledge handled interrupt
if (int_status == 0) return;