diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-09-28 12:43:00 +0200 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2008-09-28 12:43:00 +0200 |
commit | 3cc22850f84b04ad4d59e5f4a0711ad3d43a4204 (patch) | |
tree | 3e23400fbe7adef87450a244c96be694bcb9de7e /linux | |
parent | 55fbc71be89d201885f37104e2a62b0b705f0469 (diff) | |
download | mediapointer-dvb-s2-3cc22850f84b04ad4d59e5f4a0711ad3d43a4204.tar.gz mediapointer-dvb-s2-3cc22850f84b04ad4d59e5f4a0711ad3d43a4204.tar.bz2 |
gspca: URB_NO_TRANSFER_DMA_MAP is required for isoc and bulk transfers.
From: Frank Zago <frank@zago.net>
Priority: normal
Signed-off-by: Frank Zago <frank@zago.net>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/gspca/gspca.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/gspca.c b/linux/drivers/media/video/gspca/gspca.c index 3c57f45e8..40a115440 100644 --- a/linux/drivers/media/video/gspca/gspca.c +++ b/linux/drivers/media/video/gspca/gspca.c @@ -550,7 +550,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; @@ -561,6 +562,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; } } |