Commit 72fa2d94 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: fix debugging code to allow USB_NO_DMA_MAP.

  
Thanks to Oliver Neukum for finding this
parent bae5f7f0
...@@ -278,6 +278,7 @@ int usb_submit_urb(struct urb *urb, int mem_flags) ...@@ -278,6 +278,7 @@ int usb_submit_urb(struct urb *urb, int mem_flags)
/* enforce simple/standard policy */ /* enforce simple/standard policy */
allowed = USB_ASYNC_UNLINK; // affects later unlinks allowed = USB_ASYNC_UNLINK; // affects later unlinks
allowed |= URB_NO_DMA_MAP;
switch (temp) { switch (temp) {
case PIPE_BULK: case PIPE_BULK:
allowed |= URB_NO_INTERRUPT; allowed |= URB_NO_INTERRUPT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment