ehci:fix missing bus param

This commit is contained in:
sakumisu
2024-03-20 21:51:52 +08:00
parent 9145add9af
commit 15b97f3348

View File

@@ -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;