[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)
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>

No differences found