Changeset 338d54a7 in mainline for uspace/drv/hid/atkbd/atkbd.c
- Timestamp:
- 2018-03-10T22:55:07Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 850fd32
- Parents:
- 5ef16903
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/atkbd/atkbd.c
r5ef16903 r338d54a7 302 302 const sysarg_t method = IPC_GET_IMETHOD(*icall); 303 303 at_kbd_t *kbd = ddf_dev_data_get(ddf_fun_get_dev(fun)); 304 async_sess_t *sess; 304 305 305 306 switch (method) { 306 case KBDEV_SET_IND: {307 case KBDEV_SET_IND: 307 308 async_answer_0(icallid, ENOTSUP); 308 309 break; 309 }310 310 /* 311 311 * This might be ugly but async_callback_receive_start makes no 312 312 * difference for incorrect call and malloc failure. 313 313 */ 314 case IPC_M_CONNECT_TO_ME: { 315 async_sess_t *sess = 316 async_callback_receive_start(EXCHANGE_SERIALIZE, icall); 314 case IPC_M_CONNECT_TO_ME: 315 sess = async_callback_receive_start(EXCHANGE_SERIALIZE, icall); 317 316 318 317 /* Probably ENOMEM error, try again. */ … … 334 333 335 334 break; 336 }337 335 default: 338 336 ddf_msg(LVL_ERROR, "Unknown method: %d.", (int)method);
Note:
See TracChangeset
for help on using the changeset viewer.