[media] hdpvr: Add missing URB_NO_TRANSFER_DMA_MAP flag
authorJames M McLaren <mclaren@tulane.edu>
Sun, 3 Oct 2010 22:09:18 +0000 (19:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 09:55:59 +0000 (07:55 -0200)
Necessary on arm.

Signed-off-by: Janne Grunau <j@jannau.net>
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/hdpvr/hdpvr-video.c

index 4863a21..93f7959 100644 (file)
@@ -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);
        }