Skip to content

Commit 6dd4d50

Browse files
authored
Merge pull request hathach#1352 from ETCLabs/fix-ehci-isr-status-clear-error
Updated the clearing of the status register bits to use a straight '=…
2 parents f392054 + 39fdbc8 commit 6dd4d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/portable/ehci/ehci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ void hcd_int_handler(uint8_t rhport)
657657
uint32_t int_status = regs->status;
658658
int_status &= regs->inten;
659659

660-
regs->status |= int_status; // Acknowledge handled interrupt
660+
regs->status = int_status; // Acknowledge handled interrupt
661661

662662
if (int_status == 0) return;
663663

0 commit comments

Comments
 (0)