diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2013-06-25 11:17:34 -0300 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:51:25 +0900 |
commit | 6bfde5586d87cacef12f0993cc6c5b9cee27f8bb (patch) | |
tree | e854dfc051128befc4792fe25d5b8ffe36152346 /include/media | |
parent | 5b195737c7f02196f3781f67bdf4cda0fe5f0069 (diff) | |
download | linux-3.10-6bfde5586d87cacef12f0993cc6c5b9cee27f8bb.tar.gz linux-3.10-6bfde5586d87cacef12f0993cc6c5b9cee27f8bb.tar.bz2 linux-3.10-6bfde5586d87cacef12f0993cc6c5b9cee27f8bb.zip |
upstream: [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')
-rw-r--r-- | include/media/davinci/vpif_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/davinci/vpif_types.h b/include/media/davinci/vpif_types.h index 3882e0675cc..e08bcde52d0 100644 --- a/include/media/davinci/vpif_types.h +++ b/include/media/davinci/vpif_types.h @@ -81,5 +81,7 @@ struct vpif_capture_config { struct vpif_subdev_info *subdev_info; int subdev_count; const char *card_name; + struct v4l2_async_subdev **asd; /* Flat array, arranged in groups */ + int *asd_sizes; /* 0-terminated array of asd group sizes */ }; #endif /* _VPIF_TYPES_H */ |