]> git.baikalelectronics.ru Git - kernel.git/commit
[media] videobuf2-core: add helper functions
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 2 Jul 2012 08:59:18 +0000 (05:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jul 2012 20:32:06 +0000 (17:32 -0300)
commitd105993a7733603dcc4a589c800b6feaecf5f28d
treecf8b068a37f23d7ca5ee30870ee8bd670c54c53f
parent783caec4cb1b145fe24f43d085f19a1049cabd18
[media] videobuf2-core: add helper functions

Add helper functions to make it easier to adapt drivers to vb2.

These helpers take care of core locking and check if the filehandle is the
owner of the queue.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf2-core.c
include/media/videobuf2-core.h