]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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)
committerAndi Kleen <ak@linux.intel.com>
Tue, 14 Dec 2010 22:40:08 +0000 (23:40 +0100)
commit 4f5c933abb34532dc962185c999509b97a97fa1b upstream.

Necessary on arm.

Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/media/video/hdpvr/hdpvr-video.c

index c338f3f62e777abd0950d123c11338159a6788f0..9cccb74ab55567d00a045603c594cac354f25db5 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);
        }