[media] soc-camera: add V4L2-async support
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 26 Dec 2012 15:44:11 +0000 (12:44 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Jun 2013 19:34:17 +0000 (16:34 -0300)
commite09da11da49c6fd625be52d8b60bbbbe225a9db6
tree80442f04ef06f338578c43e7eea26bca759c9104
parent9aea470b399d797e88be08985c489855759c6c60
[media] soc-camera: add V4L2-async support

Add support for asynchronous subdevice probing, using the v4l2-async API.
The legacy synchronous mode is still supported too, which allows to
gradually update drivers and platforms. The selected approach adds a
notifier for each struct soc_camera_device instance, i.e. for each video
device node, even when there are multiple such instances registered with a
single soc-camera host simultaneously.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/soc_camera/soc_camera.c
include/media/soc_camera.h