Changeset 3bacee1 in mainline for uspace/lib/usbdev/src/devpoll.c
- Timestamp:
- 2018-04-12T16:27:17Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3cf22f9
- Parents:
- 76d0981d
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/devpoll.c
r76d0981d r3bacee1 139 139 polling, 140 140 usb_debug_str_buffer(polling->buffer, 141 141 actual_size, 16), 142 142 actual_size); 143 143 } 144 144 } else { 145 146 147 145 usb_log_debug( 146 "Poll%p: polling failed: %s.\n", 147 polling, str_error(rc)); 148 148 } 149 149 … … 241 241 return EINVAL; 242 242 243 if (!polling->ep_mapping || (polling->ep_mapping->pipe.desc.transfer_type != USB_TRANSFER_INTERRUPT) 244 ||(polling->ep_mapping->pipe.desc.direction != USB_DIRECTION_IN))243 if (!polling->ep_mapping || (polling->ep_mapping->pipe.desc.transfer_type != USB_TRANSFER_INTERRUPT) || 244 (polling->ep_mapping->pipe.desc.direction != USB_DIRECTION_IN)) 245 245 return EINVAL; 246 246
Note:
See TracChangeset
for help on using the changeset viewer.