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;