aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/davinci
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2013-06-25 10:17:34 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-07-26 12:16:37 -0400
commit873229e4fdf34196aa5d707957c59ba54c25eaba (patch)
tree3bcc839e61ea6174b6c4a8f893023eb8fa84d600 /include/media/davinci
parent8f23acb52b168282dd818a48fb3d011ed4200978 (diff)
[media] media: davinci: vpif: capture: 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. Signed-off-by: Prabhakar Lad <prabhakar.csengg@gmail.com> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Cc: Hans Verkuil <hans.verkuil@cisco.com> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: Sakari Ailus <sakari.ailus@iki.fi> Cc: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media/davinci')
-rw-r--r--include/media/davinci/vpif_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/davinci/vpif_types.h b/include/media/davinci/vpif_types.h
index 3882e0675ccf..e08bcde52d05 100644
--- a/include/media/davinci/vpif_types.h
+++ b/include/media/davinci/vpif_types.h
@@ -81,5 +81,7 @@ struct vpif_capture_config {
81 struct vpif_subdev_info *subdev_info; 81 struct vpif_subdev_info *subdev_info;
82 int subdev_count; 82 int subdev_count;
83 const char *card_name; 83 const char *card_name;
84 struct v4l2_async_subdev **asd; /* Flat array, arranged in groups */
85 int *asd_sizes; /* 0-terminated array of asd group sizes */
84}; 86};
85#endif /* _VPIF_TYPES_H */ 87#endif /* _VPIF_TYPES_H */