Changeset 22ceff3a in mainline for uspace/drv/bus/usb/usbhid/main.c
- Timestamp:
- 2011-10-17T07:29:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 12f55220
- Parents:
- 25696fea (diff), 1f131fb9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhid/main.c
r25696fea r22ceff3a 92 92 if (rc != EOK) { 93 93 usb_log_error("Failed to initialize USB/HID device.\n"); 94 usb_hid_de stroy(hid_dev);94 usb_hid_deinit(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 stroy(hid_dev);130 usb_hid_deinit(hid_dev); 131 131 return rc; 132 132 } 133 133 hid_dev->running = true; 134 dev->driver_data = hid_dev;135 134 136 135 /* … … 204 203 205 204 assert(!hid_dev->running); 206 usb_hid_de stroy(hid_dev);205 usb_hid_deinit(hid_dev); 207 206 usb_log_debug2("%s destruction complete.\n", dev->ddf_dev->name); 208 207 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.