fix iocwait deadlock in poll transfer when disconnected

This commit is contained in:
sakumisu
2022-02-15 14:56:07 +08:00
parent 68d1bc3f4f
commit ffe8a61a6a
2 changed files with 55 additions and 92 deletions

View File

@@ -43,4 +43,13 @@
#define CONFIG_USBHOST_ASYNCH
/* EHCI Configuration */
#define CONFIG_USB_EHCI_HCCR_BASE (0x20072000)
#define CONFIG_USB_EHCI_HCOR_BASE (0x20072000 + 0x10)
#define CONFIG_USB_EHCI_QH_NUM (10)
#define CONFIG_USB_EHCI_QTD_NUM (10)
// #define CONFIG_USB_EHCI_INFO_ENABLE
// #define CONFIG_USB_ECHI_HCOR_RESERVED
// #define CONFIG_USB_EHCI_CONFIGFLAG
#endif