projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
219423c
)
V4L/DVB (9085): gspca: URB_NO_TRANSFER_DMA_MAP is required for isoc and bulk transfers.
author
Frank Zago
<frank@zago.net>
Sun, 28 Sep 2008 10:43:00 +0000
(07:43 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sun, 12 Oct 2008 11:37:12 +0000
(09:37 -0200)
Signed-off-by: Frank Zago <frank@zago.net>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/video/gspca/gspca.c
b/drivers/media/video/gspca/gspca.c
index 06e50159814036c86f8f5e2a1eb7639dbcbb7466..3f0fd44f19abd62f48bc6218b0e9588a97807e66 100644
(file)
--- a/
drivers/media/video/gspca/gspca.c
+++ b/
drivers/media/video/gspca/gspca.c
@@
-540,7
+540,8
@@
static int create_urbs(struct gspca_dev *gspca_dev,
if (npkt != 0) { /* ISOC */
urb->pipe = usb_rcvisocpipe(gspca_dev->dev,
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->complete = isoc_irq;
urb->number_of_packets = npkt;
@@
-551,6
+552,7
@@
static int create_urbs(struct gspca_dev *gspca_dev,
} else { /* bulk */
urb->pipe = usb_rcvbulkpipe(gspca_dev->dev,
ep->desc.bEndpointAddress),
+ urb->transfer_flags = URB_NO_TRANSFER_DMA_MAP;
urb->complete = bulk_irq;
}
}