Changeset af8c9b54 in mainline for uspace/drv/bus/usb/usbhid/multimedia/multimedia.c
- Timestamp:
- 2011-10-14T15:07:21Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c5b6db53
- Parents:
- 571ba2a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhid/multimedia/multimedia.c
r571ba2a raf8c9b54 67 67 /** IPC session to the console device (for sending key events). */ 68 68 async_sess_t *console_sess; 69 /** DDF function */ 70 ddf_fun_t *fun; 69 71 } usb_multimedia_t; 70 72 … … 192 194 return rc; 193 195 } 196 multim_dev->fun = fun; 194 197 195 198 return EOK; … … 242 245 // hangup session to the console 243 246 async_hangup(multim_dev->console_sess); 247 const int ret = ddf_fun_unbind(multim_dev->fun); 248 if (ret != EOK) { 249 usb_log_error("Failed to unbind multim function.\n"); 250 } else { 251 ddf_fun_destroy(multim_dev->fun); 252 } 244 253 } 245 254 }
Note:
See TracChangeset
for help on using the changeset viewer.