Changeset d08aa42d in mainline
- Timestamp:
- 2018-01-25T18:09:43Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7d5287db
- Parents:
- fa4b12d5
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-25 18:09:25)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-25 18:09:43)
- Location:
- uspace/lib/usbdev
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/include/usb/dev/request.h
rfa4b12d5 rd08aa42d 85 85 char **); 86 86 87 int usb_request_clear_endpoint_halt(usb_pipe_t *, uint16_t);88 87 int usb_pipe_clear_halt(usb_pipe_t *, usb_pipe_t *); 89 88 int usb_request_get_endpoint_status(usb_pipe_t *, usb_pipe_t *, uint16_t *); -
uspace/lib/usbdev/src/devpoll.c
rfa4b12d5 rd08aa42d 154 154 * attempt anyway. 155 155 */ 156 usb_request_clear_endpoint_halt( 157 usb_device_get_default_pipe(polling->device), 158 pipe->desc.endpoint_no); 156 usb_pipe_clear_halt( 157 usb_device_get_default_pipe(polling->device), pipe); 159 158 } 160 159 -
uspace/lib/usbdev/src/pipes.c
rfa4b12d5 rd08aa42d 56 56 /* Prevent infinite recursion. */ 57 57 pipe->auto_reset_halt = false; 58 usb_ request_clear_endpoint_halt(pipe, 0);58 usb_pipe_clear_halt(pipe, pipe); 59 59 pipe->auto_reset_halt = true; 60 60 } … … 194 194 exch = async_exchange_begin(pipe->isoch_session); 195 195 else 196 196 exch = async_exchange_begin(pipe->bus_session); 197 197 size_t act_size = 0; 198 198 const int rc = -
uspace/lib/usbdev/src/request.c
rfa4b12d5 rd08aa42d 824 824 * @return Error code. 825 825 */ 826 int usb_request_clear_endpoint_halt(usb_pipe_t *pipe, uint16_t ep_index)826 static int usb_request_clear_endpoint_halt(usb_pipe_t *pipe, uint16_t ep_index) 827 827 { 828 828 return usb_request_clear_feature(pipe,
Note:
See TracChangeset
for help on using the changeset viewer.