Skip to content

Commit

Permalink
[media] hdpvr: Add missing URB_NO_TRANSFER_DMA_MAP flag
Browse files Browse the repository at this point in the history
Necessary on arm.

Signed-off-by: Janne Grunau <j@jannau.net>
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
James M McLaren authored and Mauro Carvalho Chehab committed Oct 21, 2010
1 parent 44a8155 commit 4f5c933
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/media/video/hdpvr/hdpvr-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 4f5c933

Please sign in to comment.