Changes in uspace/drv/bus/usb/ohci/hc.c [9c986d3:0cd8089] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/hc.c
r9c986d3 r0cd8089 137 137 return ret; 138 138 } 139 usb_device_manager_bind_address(&instance->generic.dev_manager, 140 instance->rh.address, hub_fun->handle); 139 141 140 142 #define CHECK_RET_UNREG_RETURN(ret, message...) \ … … 148 150 return ret; \ 149 151 } else (void)0 150 151 152 ret = usb_endpoint_manager_add_ep( 152 153 &instance->generic.ep_manager, instance->rh.address, 0, … … 164 165 CHECK_RET_UNREG_RETURN(ret, 165 166 "Failed to bind root hub function: %s.\n", str_error(ret)); 166 167 ret = usb_device_manager_bind_address(&instance->generic.dev_manager,168 instance->rh.address, hub_fun->handle);169 if (ret != EOK)170 usb_log_warning("Failed to bind root hub address: %s.\n",171 str_error(ret));172 167 173 168 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.