Changes in uspace/drv/bus/usb/usbhid/main.c [a8c4e871:065064e6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhid/main.c
ra8c4e871 r065064e6 92 92 if (rc != EOK) { 93 93 usb_log_error("Failed to initialize USB/HID device.\n"); 94 usb_hid_de init(hid_dev);94 usb_hid_destroy(hid_dev); 95 95 return rc; 96 96 } … … 128 128 usb_log_error("Failed to start polling fibril for `%s'.\n", 129 129 dev->ddf_dev->name); 130 usb_hid_de init(hid_dev);130 usb_hid_destroy(hid_dev); 131 131 return rc; 132 132 } 133 133 hid_dev->running = true; 134 dev->driver_data = hid_dev; 134 135 135 136 /* … … 203 204 204 205 assert(!hid_dev->running); 205 usb_hid_de init(hid_dev);206 usb_hid_destroy(hid_dev); 206 207 usb_log_debug2("%s destruction complete.\n", dev->ddf_dev->name); 207 208 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.