Changes in uspace/lib/usbdev/src/devpoll.c [816f5f4:8d2dd7f2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/devpoll.c
r816f5f4 r8d2dd7f2 96 96 (int) mapping->interface->interface_subclass, 97 97 (int) mapping->interface->interface_protocol, 98 data->request_size, pipe-> desc.max_packet_size);98 data->request_size, pipe->max_packet_size); 99 99 } 100 100 … … 128 128 usb_request_clear_endpoint_halt( 129 129 usb_device_get_default_pipe(data->dev), 130 pipe-> desc.endpoint_no);130 pipe->endpoint_no); 131 131 } 132 132 … … 156 156 157 157 /* Take a rest before next request. */ 158 158 159 159 // FIXME TODO: This is broken, the time is in ms not us. 160 160 // but first we need to fix drivers to actually stop using this, … … 216 216 if (request_size == 0) 217 217 return EINVAL; 218 219 if (!epm || (epm->pipe. desc.transfer_type != USB_TRANSFER_INTERRUPT) ||220 (epm->pipe.d esc.direction != USB_DIRECTION_IN))218 219 if (!epm || (epm->pipe.transfer_type != USB_TRANSFER_INTERRUPT) || 220 (epm->pipe.direction != USB_DIRECTION_IN)) 221 221 return EINVAL; 222 222 223 223 224 224 polling_data_t *polling_data = malloc(sizeof(polling_data_t));
Note:
See TracChangeset
for help on using the changeset viewer.