Changeset 10059a68 in mainline
- Timestamp:
- 2011-10-31T10:54:31Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 90d7033
- Parents:
- ae754e5f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/hub.c
rae754e5f r10059a68 177 177 * @param[in] arg Any data argument to @p enable_port. 178 178 * @param[out] assigned_address USB address of the device. 179 * @param[in] dev_ops Child device ops. 179 * @param[in] dev_ops Child device ops. Will use default if not provided. 180 180 * @param[in] new_dev_data Arbitrary pointer to be stored in the child 181 181 * as @c driver_data. … … 357 357 */ 358 358 leave_release_default_address: 359 usb_pipe_unregister(&ctrl_pipe, &hc_conn); 359 if (usb_pipe_unregister(&ctrl_pipe, &hc_conn) != EOK) 360 usb_log_warning("%s: Failed to unregister default pipe.\n", 361 __FUNCTION__); 360 362 361 363 leave_release_free_address: 362 usb_hc_unregister_device(&hc_conn, dev_addr); 364 if (usb_hc_unregister_device(&hc_conn, dev_addr) != EOK) 365 usb_log_warning("%s: Failed to unregister device.\n", 366 __FUNCTION__); 363 367 364 368 close_connection: 365 369 if (usb_hc_connection_close(&hc_conn) != EOK) 366 usb_log_warning(" usb_hc_new_device_wrapper(): Failed to close "367 "connection.\n");370 usb_log_warning("%s: Failed to close connection.\n", 371 __FUNCTION__); 368 372 369 373 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.