From 15b97f33486c01f9c095b2b4e108a4704371a7a8 Mon Sep 17 00:00:00 2001 From: sakumisu <1203593632@qq.com> Date: Wed, 20 Mar 2024 21:51:52 +0800 Subject: [PATCH] ehci:fix missing bus param --- port/ehci/usb_hc_ehci.c | 4 ++-- 1 file 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;