]> git.karo-electronics.de Git - linux-beck.git/commit
V4L/DVB: v4l videobuf: add videobuf_buffer *buf as argument to mmap_mapper
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 28 Mar 2010 12:09:05 +0000 (09:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:57:54 +0000 (12:57 -0300)
commit0b62b73778554cd47480ea465f0b255cc63b4336
tree880c3c5fc9b9ba75c65902da9dc77e8c97d3967d
parent37111039c9521c751ce0597c129fe6d45ba72818
V4L/DVB: v4l videobuf: add videobuf_buffer *buf as argument to mmap_mapper

mmap_mapper should operate on a buffer, not on a complete queue. So let
the videobuf-core find the correct buffer instead of duplicating that
code in each mmap_mapper implementation.

The dma-sg implementation has backwards compatibility code for handling
the V4L1_COMPAT layer. This code is now under the v4L1_COMPAT config option.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf-core.c
drivers/media/video/videobuf-dma-contig.c
drivers/media/video/videobuf-dma-sg.c
drivers/media/video/videobuf-vmalloc.c
include/media/videobuf-core.h