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