diff options
author | Sakari Ailus | 2015-12-16 14:32:33 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2016-01-11 15:19:21 +0100 |
commit | 6246b2a7ad1ffab5a712c38005b668f3e4ca2825 (patch) | |
tree | bcd22814c4febb9da302a707f4f85948534b86ef /drivers/staging/media/omap4iss/iss_video.h | |
parent | [media] staging: v4l: omap4iss: Fix sub-device power management code (diff) | |
download | kernel-qcow2-linux-6246b2a7ad1ffab5a712c38005b668f3e4ca2825.tar.gz kernel-qcow2-linux-6246b2a7ad1ffab5a712c38005b668f3e4ca2825.tar.xz kernel-qcow2-linux-6246b2a7ad1ffab5a712c38005b668f3e4ca2825.zip |
[media] staging: v4l: omap4iss: Use media entity enumeration interface
Instead of using a bitmap directly in a driver, use the new media
entity enumeration interface to perform the same.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/staging/media/omap4iss/iss_video.h')
-rw-r--r-- | drivers/staging/media/omap4iss/iss_video.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/omap4iss/iss_video.h b/drivers/staging/media/omap4iss/iss_video.h index 41532eda1277..c8bd2958a3f8 100644 --- a/drivers/staging/media/omap4iss/iss_video.h +++ b/drivers/staging/media/omap4iss/iss_video.h @@ -77,7 +77,7 @@ enum iss_pipeline_state { /* * struct iss_pipeline - An OMAP4 ISS hardware pipeline - * @entities: Bitmask of entities in the pipeline (indexed by entity ID) + * @ent_enum: Entities in the pipeline * @error: A hardware error occurred during capture */ struct iss_pipeline { @@ -87,7 +87,7 @@ struct iss_pipeline { enum iss_pipeline_stream_state stream_state; struct iss_video *input; struct iss_video *output; - unsigned int entities; + struct media_entity_enum ent_enum; atomic_t frame_number; bool do_propagation; /* of frame number */ bool error; |