commit | 5a5adf6b669cf1a3dd2af419cd68a4c491f384a3 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Fri Jun 22 07:29:35 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri Jul 06 17:30:54 2012 -0300 |
tree | 42b1c4709c3c5cca04fb15bd369e6ae4921645d4 | |
parent | 5d44f5e3e388739f017a74e73dab2a995673915f [diff] |
[media] v4l2-dev/ioctl.c: add vb2_queue support to video_device 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>