Changes in uspace/srv/hid/input/generic/input.c [f302586:10a5479d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/generic/input.c
rf302586 r10a5479d 39 39 #include <adt/list.h> 40 40 #include <bool.h> 41 #include <fibril_synch.h> 41 42 #include <ipc/services.h> 42 43 #include <ipc/input.h> … … 83 84 async_sess_t *irc_sess = NULL; 84 85 86 static FIBRIL_MUTEX_INITIALIZE(discovery_lock); 87 85 88 void kbd_push_data(kbd_dev_t *kdev, sysarg_t data) 86 89 { … … 593 596 int rc; 594 597 598 fibril_mutex_lock(&discovery_lock); 599 595 600 rc = dev_check_new_kbdevs(); 596 if (rc != EOK) 601 if (rc != EOK) { 602 fibril_mutex_unlock(&discovery_lock); 597 603 return rc; 604 } 598 605 599 606 rc = dev_check_new_mousedevs(); 600 if (rc != EOK) 607 if (rc != EOK) { 608 fibril_mutex_unlock(&discovery_lock); 601 609 return rc; 602 610 } 611 612 fibril_mutex_unlock(&discovery_lock); 613 603 614 return EOK; 604 615 }
Note:
See TracChangeset
for help on using the changeset viewer.