[media] soc-camera: remove struct soc_camera_device::video_lock
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 24 Dec 2012 12:31:33 +0000 (09:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Jan 2013 03:36:23 +0000 (01:36 -0200)
commitdd669e907cbe1cf33f9cbbff79af2b5c271cdd89
treeaeb887abff9f1641fc6bc4bc44a31196aafb793b
parent8a97d4c11756ab6bab8582126d0f1b5c00b067ad
[media] soc-camera: remove struct soc_camera_device::video_lock

Currently soc-camera has a per-device node lock, used for video operations
and a per-host lock for code paths, modifying host's pipeline. Manipulating
the two locks increases complexity and doesn't bring any advantages. This
patch removes the per-device lock and uses the per-host lock for all
operations.

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