Changes in / [0f31e2b:d3594362] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbmid/explore.c
r0f31e2b rd3594362 159 159 } 160 160 161 /* Select the first configuration */ 162 rc = usb_request_set_configuration(&dev->ctrl_pipe, 163 config_descriptor->configuration_number); 164 if (rc != EOK) { 165 usb_log_error("Failed to set device configuration: %s.\n", 166 str_error(rc)); 167 free(config_descriptor_raw); 168 free(interface_descriptors); 169 return false; 170 } 171 172 173 /* Create control function */ 161 174 ddf_fun_t *ctl_fun = ddf_fun_create(dev->dev, fun_exposed, "ctl"); 162 175 if (ctl_fun == NULL) { … … 175 188 } 176 189 190 /* Spawn interface children */ 177 191 size_t i; 178 192 for (i = 0; i < interface_descriptors_count; i++) {
Note:
See TracChangeset
for help on using the changeset viewer.