[media] v4l: vb2-dma-contig: let mmap method to use dma_mmap_coherent call
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 14 Jun 2012 14:32:21 +0000 (11:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 25 Nov 2012 19:20:25 +0000 (17:20 -0200)
commitc60520fa50cd86d64bc8ebb34300ddc4ca91393d
tree2f90c8d36f9ed166e6747fb2bd05444b350f1217
parent9bd09fd7385739bf571a6ea848bee425327ce34e
[media] v4l: vb2-dma-contig: let mmap method to use dma_mmap_coherent call

Let mmap method to use dma_mmap_coherent call.  Moreover, this patch removes
vb2_mmap_pfn_range from videobuf2 helpers as it was suggested by Laurent
Pinchart.  The function is no longer used in vb2 code.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/v4l2-core/videobuf2-dma-contig.c
drivers/media/v4l2-core/videobuf2-memops.c
include/media/videobuf2-memops.h