diff options
Diffstat (limited to 'drivers/media/video/omap3isp/ispvideo.h')
-rw-r--r-- | drivers/media/video/omap3isp/ispvideo.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/media/video/omap3isp/ispvideo.h b/drivers/media/video/omap3isp/ispvideo.h index 08cbfa144e6e..d91bdb919be0 100644 --- a/drivers/media/video/omap3isp/ispvideo.h +++ b/drivers/media/video/omap3isp/ispvideo.h | |||
@@ -85,6 +85,10 @@ enum isp_pipeline_state { | |||
85 | ISP_PIPELINE_STREAM = 64, | 85 | ISP_PIPELINE_STREAM = 64, |
86 | }; | 86 | }; |
87 | 87 | ||
88 | /* | ||
89 | * struct isp_pipeline - An ISP hardware pipeline | ||
90 | * @error: A hardware error occurred during capture | ||
91 | */ | ||
88 | struct isp_pipeline { | 92 | struct isp_pipeline { |
89 | struct media_pipeline pipe; | 93 | struct media_pipeline pipe; |
90 | spinlock_t lock; /* Pipeline state and queue flags */ | 94 | spinlock_t lock; /* Pipeline state and queue flags */ |
@@ -96,6 +100,7 @@ struct isp_pipeline { | |||
96 | unsigned int max_rate; | 100 | unsigned int max_rate; |
97 | atomic_t frame_number; | 101 | atomic_t frame_number; |
98 | bool do_propagation; /* of frame number */ | 102 | bool do_propagation; /* of frame number */ |
103 | bool error; | ||
99 | struct v4l2_fract max_timeperframe; | 104 | struct v4l2_fract max_timeperframe; |
100 | }; | 105 | }; |
101 | 106 | ||
@@ -194,8 +199,7 @@ void omap3isp_video_cleanup(struct isp_video *video); | |||
194 | int omap3isp_video_register(struct isp_video *video, | 199 | int omap3isp_video_register(struct isp_video *video, |
195 | struct v4l2_device *vdev); | 200 | struct v4l2_device *vdev); |
196 | void omap3isp_video_unregister(struct isp_video *video); | 201 | void omap3isp_video_unregister(struct isp_video *video); |
197 | struct isp_buffer *omap3isp_video_buffer_next(struct isp_video *video, | 202 | struct isp_buffer *omap3isp_video_buffer_next(struct isp_video *video); |
198 | unsigned int error); | ||
199 | void omap3isp_video_resume(struct isp_video *video, int continuous); | 203 | void omap3isp_video_resume(struct isp_video *video, int continuous); |
200 | struct media_pad *omap3isp_video_remote_pad(struct isp_video *video); | 204 | struct media_pad *omap3isp_video_remote_pad(struct isp_video *video); |
201 | 205 | ||