Changeset 73d8600 in mainline for uspace/srv/hid/input/input.c
- Timestamp:
- 2016-12-27T13:29:31Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bfa4ffa
- Parents:
- fd384d6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/input.c
rfd384d6 r73d8600 827 827 fibril_mutex_lock(&discovery_lock); 828 828 829 rc = dev_check_new_kbdevs(); 830 if (rc != EOK) { 831 fibril_mutex_unlock(&discovery_lock); 832 return rc; 833 } 834 835 rc = dev_check_new_mousedevs(); 836 if (rc != EOK) { 837 fibril_mutex_unlock(&discovery_lock); 838 return rc; 839 } 840 841 rc = dev_check_new_serialdevs(); 842 if (rc != EOK) { 843 fibril_mutex_unlock(&discovery_lock); 844 return rc; 829 if (!serial_console) { 830 rc = dev_check_new_kbdevs(); 831 if (rc != EOK) { 832 fibril_mutex_unlock(&discovery_lock); 833 return rc; 834 } 835 836 rc = dev_check_new_mousedevs(); 837 if (rc != EOK) { 838 fibril_mutex_unlock(&discovery_lock); 839 return rc; 840 } 841 } else { 842 rc = dev_check_new_serialdevs(); 843 if (rc != EOK) { 844 fibril_mutex_unlock(&discovery_lock); 845 return rc; 846 } 845 847 } 846 848
Note:
See TracChangeset
for help on using the changeset viewer.