[media] v4l2-dev/ioctl.c: add vb2_queue support to video_device
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 22 Jun 2012 10:29:35 +0000 (07:29 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jul 2012 20:30:54 +0000 (17:30 -0300)
This prepares struct video_device for easier integration with vb2.

It also introduces a new lock that protects the vb2_queue. It is up
to the driver to use it or not. And the driver can associate an owner
filehandle with the queue to check whether queuing requests are
permitted for the calling filehandle.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found