diff options
| author | sakumisu <[email protected]> | 2024-03-20 21:51:52 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2024-03-20 21:52:04 +0800 |
| commit | 15b97f33486c01f9c095b2b4e108a4704371a7a8 (patch) | |
| tree | 55e8426029f7f617d2d4a7024f6eba7c486c78dc | |
| parent | 9145add9af98d4ff2edc0d2066522cd6421ba78b (diff) | |
ehci:fix missing bus param
| -rw-r--r-- | port/ehci/usb_hc_ehci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/port/ehci/usb_hc_ehci.c b/port/ehci/usb_hc_ehci.c index f3be5801..72e788a4 100644 --- a/port/ehci/usb_hc_ehci.c +++ b/port/ehci/usb_hc_ehci.c @@ -1253,7 +1253,7 @@ int usbh_kill_urb(struct usbh_urb *urb) } } else { #ifdef CONFIG_USB_EHCI_ISO - ehci_remove_itd_urb(urb); + ehci_remove_itd_urb(bus, urb); EHCI_HCOR->usbcmd |= (EHCI_USBCMD_PSEN | EHCI_USBCMD_ASEN); usb_osal_leave_critical_section(flags); return 0; @@ -1315,7 +1315,7 @@ void USBH_IRQHandler(uint8_t busid) struct usbh_bus *bus; bus = &g_usbhost_bus[busid]; - + usbsts = EHCI_HCOR->usbsts & EHCI_HCOR->usbintr; EHCI_HCOR->usbsts = usbsts; |
