summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/hdpvr
diff options
context:
space:
mode:
authorJames M McLaren <mclaren@tulane.edu>2010-10-03 19:09:18 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 07:55:59 -0200
commit4f5c933abb34532dc962185c999509b97a97fa1b (patch)
treeff55d0201d89dfac0e641272bce56a4f81a0c333 /drivers/media/video/hdpvr
parent44a81550410ada5b30f0a611d9446dc9cbf4cb59 (diff)
downloadop-kernel-dev-4f5c933abb34532dc962185c999509b97a97fa1b.zip
op-kernel-dev-4f5c933abb34532dc962185c999509b97a97fa1b.tar.gz
[media] hdpvr: Add missing URB_NO_TRANSFER_DMA_MAP flag
Necessary on arm. Signed-off-by: Janne Grunau <j@jannau.net> Cc: stable@kernel.org Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/hdpvr')
-rw-r--r--drivers/media/video/hdpvr/hdpvr-video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/hdpvr/hdpvr-video.c b/drivers/media/video/hdpvr/hdpvr-video.c
index 4863a21..93f7959 100644
--- a/drivers/media/video/hdpvr/hdpvr-video.c
+++ b/drivers/media/video/hdpvr/hdpvr-video.c
@@ -157,6 +157,7 @@ int hdpvr_alloc_buffers(struct hdpvr_device *dev, uint count)
mem, dev->bulk_in_size,
hdpvr_read_bulk_callback, buf);
+ buf->urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP;
buf->status = BUFSTAT_AVAILABLE;
list_add_tail(&buf->buff_list, &dev->free_buff_list);
}
OpenPOWER on IntegriCloud