Changeset a0c05e7 in mainline
- Timestamp:
- 2011-11-07T12:07:49Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 45e7868
- Parents:
- bcf54ac
- Location:
- uspace/drv/bus/usb/usbhid
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhid/generic/hiddev.c
rbcf54ac ra0c05e7 179 179 return; 180 180 181 const int ret = ddf_fun_unbind(fun); 182 if (ret != EOK) { 181 if (ddf_fun_unbind(fun) != EOK) { 183 182 usb_log_error("Failed to unbind generic hid fun.\n"); 184 183 return; -
uspace/drv/bus/usb/usbhid/multimedia/multimedia.c
rbcf54ac ra0c05e7 201 201 "Could not add DDF function to category 'keyboard': %s.\n", 202 202 str_error(rc)); 203 ddf_fun_destroy(fun); 203 if (ddf_fun_unbind(fun) != EOK) { 204 usb_log_error("Failed to unbind %s, won't destroy.\n", 205 fun->name); 206 } else { 207 ddf_fun_destroy(fun); 208 } 204 209 return rc; 205 210 } … … 220 225 if (multim_dev->console_sess) 221 226 async_hangup(multim_dev->console_sess); 222 const int ret = ddf_fun_unbind(fun); 223 if (ret != EOK) { 224 usb_log_error("Failed to unbind %s function.\n", 227 if (ddf_fun_unbind(fun) != EOK) { 228 usb_log_error("Failed to unbind %s, won't destroy.\n", 225 229 fun->name); 226 230 } else {
Note:
See TracChangeset
for help on using the changeset viewer.