summaryrefslogtreecommitdiffstats
path: root/include/media/sh_mobile_ceu.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-01-03 19:06:35 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-21 21:35:53 +0200
commit676d2d4f08ccdfab45867aaf1edeeb923b45bdc1 (patch)
tree34b7f0667bc93ccc1a5e27f7108e984d0411fea4 /include/media/sh_mobile_ceu.h
parent[media] soc-camera: add V4L2-async support (diff)
downloadlinux-676d2d4f08ccdfab45867aaf1edeeb923b45bdc1.tar.xz
linux-676d2d4f08ccdfab45867aaf1edeeb923b45bdc1.zip
[media] sh_mobile_ceu_camera: add asynchronous subdevice probing support
Use the v4l2-async API to support asynchronous subdevice probing, including the CSI2 subdevice. Synchronous probing is still supported too. 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>
Diffstat (limited to 'include/media/sh_mobile_ceu.h')
-rw-r--r--include/media/sh_mobile_ceu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/sh_mobile_ceu.h b/include/media/sh_mobile_ceu.h
index 6fdb6adf6b2b..8937241e5f37 100644
--- a/include/media/sh_mobile_ceu.h
+++ b/include/media/sh_mobile_ceu.h
@@ -22,6 +22,8 @@ struct sh_mobile_ceu_info {
int max_width;
int max_height;
struct sh_mobile_ceu_companion *csi2;
+ struct v4l2_async_subdev **asd; /* Flat array, arranged in groups */
+ int *asd_sizes; /* 0-terminated array pf asd group sizes */
};
#endif /* __ASM_SH_MOBILE_CEU_H__ */