diff options
| author | Ha Thach <[email protected]> | 2022-02-26 18:05:59 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-02-26 18:05:59 +0700 |
| commit | 6dd4d50213b717e20b1c399b139cbd012fca7482 (patch) | |
| tree | a94a4937965a0dccc288d08bc8aafb3b3e274a0a /src | |
| parent | f392054e7057ba0f7df83f102fd7e508c3036725 (diff) | |
| parent | 39fdbc8ffca3cb0a610ce4140e1d527beb47ad3d (diff) | |
Merge pull request #1352 from ETCLabs/fix-ehci-isr-status-clear-error
Updated the clearing of the status register bits to use a straight '=…
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/ehci/ehci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/ehci/ehci.c b/src/portable/ehci/ehci.c index 5b42ece48..ae62144b6 100644 --- a/src/portable/ehci/ehci.c +++ b/src/portable/ehci/ehci.c @@ -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; |
