summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2024-05-16 10:13:41 +0800
committersakumisu <[email protected]>2024-05-16 10:13:52 +0800
commit0985a7e5fa7caed5df800699aa3e6a1c94cba954 (patch)
treecfc32bd4f453d9044803161ea5dec48359f39817
parent8b805ee6d7915cda848a2df442ded2900de10eec (diff)
fix(port/usb_hc_ehci): clear iaad status
-rw-r--r--port/ehci/usb_hc_ehci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/port/ehci/usb_hc_ehci.c b/port/ehci/usb_hc_ehci.c
index ec6f2d7f..39d4b702 100644
--- a/port/ehci/usb_hc_ehci.c
+++ b/port/ehci/usb_hc_ehci.c
@@ -1276,6 +1276,7 @@ int usbh_kill_urb(struct usbh_urb *urb)
return -USB_ERR_TIMEOUT;
}
}
+ EHCI_HCOR->usbsts = EHCI_USBSTS_IAA;
}
usb_osal_leave_critical_section(flags);