summaryrefslogtreecommitdiff
path: root/common/usbx_host_controllers/src/ux_hcd_ohci_initialize.c
diff options
context:
space:
mode:
authorYuxin Zhou <[email protected]>2022-07-26 02:07:18 +0000
committerYuxin Zhou <[email protected]>2022-07-26 02:07:18 +0000
commitcd55ec74569aa3fbfbd8f02d025a47c5a51a285a (patch)
tree916e32c4722afe2b37a776cba65797f6fe1a2d75 /common/usbx_host_controllers/src/ux_hcd_ohci_initialize.c
parent082fd9db09a3669eca3358f10b8837a5c1635c0b (diff)
Release 6.1.12v6.1.12_rel
Diffstat (limited to 'common/usbx_host_controllers/src/ux_hcd_ohci_initialize.c')
-rw-r--r--common/usbx_host_controllers/src/ux_hcd_ohci_initialize.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/common/usbx_host_controllers/src/ux_hcd_ohci_initialize.c b/common/usbx_host_controllers/src/ux_hcd_ohci_initialize.c
index b8400c2..cfd5078 100644
--- a/common/usbx_host_controllers/src/ux_hcd_ohci_initialize.c
+++ b/common/usbx_host_controllers/src/ux_hcd_ohci_initialize.c
@@ -35,7 +35,7 @@
/* FUNCTION RELEASE */
/* */
/* _ux_hcd_ohci_initialize PORTABLE C */
-/* 6.1.11 */
+/* 6.1.12 */
/* AUTHOR */
/* */
/* Chaoqiong Xiao, Microsoft Corporation */
@@ -85,6 +85,9 @@
/* 04-25-2022 Chaoqiong Xiao Modified comment(s), */
/* fixed standalone compile, */
/* resulting in version 6.1.11 */
+/* 07-29-2022 Yajun Xia Modified comment(s), */
+/* fixed OHCI PRSC issue, */
+/* resulting in version 6.1.12 */
/* */
/**************************************************************************/
UINT _ux_hcd_ohci_initialize(UX_HCD *hcd)
@@ -232,6 +235,11 @@ UINT status;
hcd -> ux_hcd_nb_root_hubs = UX_MAX_ROOTHUB_PORT;
hcd_ohci -> ux_hcd_ohci_nb_root_hubs = hcd -> ux_hcd_nb_root_hubs;
+ /* Create HCD event flags */
+ status = _ux_host_event_flags_create(&hcd_ohci -> ux_hcd_ohci_event_flags_group, "ux_hcd_ohci_event_flags_group");
+ if (status != UX_SUCCESS)
+ return(status);
+
/* All ports must now be powered to pick up device insertion. */
_ux_hcd_ohci_power_root_hubs(hcd_ohci);