Commit 3b11fa3a authored by Jean-Francois Moine's avatar Jean-Francois Moine Committed by Mauro Carvalho Chehab

V4L/DVB (9083): gspca: URB_NO_TRANSFER_DMA_MAP is not useful for isoc transfers.

Signed-off-by: default avatarJean-Francois Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 40e6ec12
...@@ -540,8 +540,7 @@ static int create_urbs(struct gspca_dev *gspca_dev, ...@@ -540,8 +540,7 @@ static int create_urbs(struct gspca_dev *gspca_dev,
if (npkt != 0) { /* ISOC */ if (npkt != 0) { /* ISOC */
urb->pipe = usb_rcvisocpipe(gspca_dev->dev, urb->pipe = usb_rcvisocpipe(gspca_dev->dev,
ep->desc.bEndpointAddress); ep->desc.bEndpointAddress);
urb->transfer_flags = URB_ISO_ASAP urb->transfer_flags = URB_ISO_ASAP;
| URB_NO_TRANSFER_DMA_MAP;
urb->interval = ep->desc.bInterval; urb->interval = ep->desc.bInterval;
urb->complete = isoc_irq; urb->complete = isoc_irq;
urb->number_of_packets = npkt; urb->number_of_packets = npkt;
......
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