Commit 61b080d2 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB (7180): em28xx: add URB_NO_TRANSFER_DMA_MAP, since urb->transfer_dma is set

Thanks to Alan Stern <stern@rowland.harvard.edu> for pointing this issue.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 3687e1e6
...@@ -780,7 +780,7 @@ int em28xx_init_isoc(struct em28xx *dev) ...@@ -780,7 +780,7 @@ int em28xx_init_isoc(struct em28xx *dev)
urb->dev = dev->udev; urb->dev = dev->udev;
urb->context = dev; urb->context = dev;
urb->pipe = usb_rcvisocpipe(dev->udev, 0x82); urb->pipe = usb_rcvisocpipe(dev->udev, 0x82);
urb->transfer_flags = URB_ISO_ASAP; urb->transfer_flags = URB_ISO_ASAP | URB_NO_TRANSFER_DMA_MAP;
urb->interval = 1; urb->interval = 1;
urb->transfer_buffer = dev->transfer_buffer[i]; urb->transfer_buffer = dev->transfer_buffer[i];
urb->complete = em28xx_isocIrq; urb->complete = em28xx_isocIrq;
......
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