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
commit 6dd4d50213
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;