[media] v4l: vb2: add prepare/finish callbacks to allocators
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 14 Jun 2012 13:37:43 +0000 (10:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 25 Nov 2012 19:12:12 +0000 (17:12 -0200)
commit3e0c2f2046665bf580273b69ab18d9c76a550e34
tree9d47682a1c7ab8ea7afef9d6282361906ed23da5
parente15dab752d4c588544ccabdbe020a7cc092e23c8
[media] v4l: vb2: add prepare/finish callbacks to allocators

This patch adds support for prepare/finish callbacks in VB2 allocators. These
callback are used for buffer flushing.

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