Changeset fdc2253b in mainline for uspace/lib/usbdev/src/pipes.c
- Timestamp:
- 2018-02-05T00:54:08Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d14688d
- Parents:
- cc63815
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-02-02 14:38:23)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-02-05 00:54:08)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/pipes.c
rcc63815 rfdc2253b 171 171 void *usb_pipe_alloc_buffer(usb_pipe_t *pipe, size_t size) 172 172 { 173 // FIXME: Do not use the default policy, but the one required by HC.174 175 173 dma_buffer_t buf; 176 if (dma_buffer_alloc (&buf, size))174 if (dma_buffer_alloc_policy(&buf, size, pipe->desc.transfer_buffer_policy)) 177 175 return NULL; 178 176
Note:
See TracChangeset
for help on using the changeset viewer.