]> git.baikalelectronics.ru Git - kernel.git/commit
media: videobuf2-v4l2: add vb2_request_queue/validate helpers
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 21 May 2018 08:54:52 +0000 (04:54 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 31 Aug 2018 15:22:32 +0000 (11:22 -0400)
commitfc877f4cd334ac09e364a511a92cb31bf3c7f6e8
tree6428efc3e1713c30f8121decdee6f024674e757c
parent598cfa1518104ada9648e3dbc131a52ec597dda1
media: videobuf2-v4l2: add vb2_request_queue/validate helpers

The generic vb2_request_validate helper function checks if
there are buffers in the request and if so, prepares (validates)
all objects in the request.

The generic vb2_request_queue helper function queues all buffer
objects in the validated request.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/common/videobuf2/videobuf2-v4l2.c
include/media/videobuf2-v4l2.h