V4L/DVB: soc-camera: allow only one video queue per device
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 17 Aug 2010 17:29:51 +0000 (14:29 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:06:18 +0000 (01:06 -0200)
commit57bee29d6e8cf721864fa47a18366bee5ff24f21
treeeec0e9a15386db2bbe041f9e39d60075614c5adc
parent79c6ff93c74e793ccceb464ee3698478c812ce79
V4L/DVB: soc-camera: allow only one video queue per device

Multiple user-space application instances can open the same video device, but
it only makes sense for one of them to manage the videobuffer queue and set
video format of the device. Restrict soc-camera respectively.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mx1_camera.c
drivers/media/video/mx3_camera.c
drivers/media/video/pxa_camera.c
drivers/media/video/sh_mobile_ceu_camera.c
drivers/media/video/soc_camera.c
include/media/soc_camera.h