Changes in uspace/drv/bus/usb/usbhub/port.c [ffa96c2:c4f7bf6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/port.c
rffa96c2 rc4f7bf6 424 424 ddf_fun_t *child_fun; 425 425 426 child_fun = ddf_fun_create(data->hub->usb_device->ddf_dev,427 fun_inner, NULL);428 if (child_fun == NULL)429 return ENOMEM;430 431 426 const int rc = usb_hc_new_device_wrapper(data->hub->usb_device->ddf_dev, 432 child_fun, &data->hub->usb_device->hc_conn, data->speed,433 enable_port_callback, data->port, &new_address, NULL);427 &data->hub->usb_device->hc_conn, data->speed, enable_port_callback, 428 data->port, &new_address, NULL, NULL, &child_fun); 434 429 435 430 if (rc == EOK) { … … 445 440 ddf_fun_get_handle(child_fun)); 446 441 } else { 447 ddf_fun_destroy(child_fun);448 442 usb_log_error("Failed registering device on port %zu: %s.\n", 449 443 data->port->port_number, str_error(rc));
Note:
See TracChangeset
for help on using the changeset viewer.