Changeset 984a9ba in mainline for uspace/drv/hid/usbhid/multimedia/multimedia.c
- Timestamp:
- 2018-07-05T09:34:09Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 63d46341
- Parents:
- 76f566d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/usbhid/multimedia/multimedia.c
r76f566d r984a9ba 73 73 74 74 75 /** 76 * Default handler for IPC methods not handled by DDF. 75 /** Default handler for IPC methods not handled by DDF. 77 76 * 78 77 * Currently recognizes only one method (IPC_M_CONNECT_TO_ME), in which case it … … 80 79 * later use by the driver to notify about key events. 81 80 * 82 * @param fun Device function handling the call. 83 * @param icall_handle Call handle. 84 * @param icall Call data. 85 */ 86 static void 87 default_connection_handler(ddf_fun_t *fun, cap_call_handle_t icall_handle, 88 ipc_call_t *icall) 81 * @param fun Device function handling the call. 82 * @param icall Call data. 83 * 84 */ 85 static void default_connection_handler(ddf_fun_t *fun, ipc_call_t *icall) 89 86 { 90 87 usb_log_debug(NAME " default_connection_handler()"); … … 99 96 usb_log_debug(NAME " Saved session to console: %p", 100 97 sess); 101 async_answer_0(icall _handle, EOK);98 async_answer_0(icall, EOK); 102 99 } else 103 async_answer_0(icall _handle, ELIMIT);100 async_answer_0(icall, ELIMIT); 104 101 } else 105 async_answer_0(icall _handle, EINVAL);102 async_answer_0(icall, EINVAL); 106 103 } 107 104
Note:
See TracChangeset
for help on using the changeset viewer.