aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2017-05-17 13:21:14 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-05-17 13:21:14 +0300
commitcdb55b39fab82b5d48c9a7aa0348268f07b993ed (patch)
tree03cef4c20b6b303bd4b597c2f0756034849c5651 /include
parentusb: dwc3: gadget: don't WARN about lack of TRBs (diff)
downloadwireguard-linux-cdb55b39fab82b5d48c9a7aa0348268f07b993ed.tar.xz
wireguard-linux-cdb55b39fab82b5d48c9a7aa0348268f07b993ed.zip
usb: dwc3: gadget: lazily map requests for DMA
Some functions might want to have very, very long request queues. We can't make any assumptions about how many requests we *are* able to map, so instead of mapping requests early, let's map them late. This way, functions can queue as many requests as they'd like but we won't take DMA resources until they are needed. Also, we can now stop processing requests when we run out of DMA resources but still keep requests in the queue for late processing. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions