diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-09-06 14:26:44 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:37:00 -0400 |
commit | 6bd6dff6318397b1127dd256b65dde007306b8ea (patch) | |
tree | ab42df43b2e22a527fb12bc1bf0e18771ecb29ce /include/media/v4l2-common.h | |
parent | 2796073a3d9cc4f610f1e68b3f62c197d86577ab (diff) |
V4L/DVB (8940): saa7115: fix saa7111(a) support
The saa7111 support in saa7115.c was missing some features and did not
properly take some of the differences into account. With this patch
saa7115 can be used in the mxb driver instead of saa7111.c.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/v4l2-common.h')
-rw-r--r-- | include/media/v4l2-common.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h index 0c195ccd45d2..2f8719abf5cb 100644 --- a/include/media/v4l2-common.h +++ b/include/media/v4l2-common.h | |||
@@ -225,18 +225,22 @@ struct v4l2_crystal_freq { | |||
225 | An extra flags field allows device specific configuration regarding | 225 | An extra flags field allows device specific configuration regarding |
226 | clock frequency dividers, etc. If not used, then set flags to 0. | 226 | clock frequency dividers, etc. If not used, then set flags to 0. |
227 | If the frequency is not supported, then -EINVAL is returned. */ | 227 | If the frequency is not supported, then -EINVAL is returned. */ |
228 | #define VIDIOC_INT_S_CRYSTAL_FREQ _IOW ('d', 113, struct v4l2_crystal_freq) | 228 | #define VIDIOC_INT_S_CRYSTAL_FREQ _IOW('d', 113, struct v4l2_crystal_freq) |
229 | 229 | ||
230 | /* Initialize the sensor registors to some sort of reasonable | 230 | /* Initialize the sensor registors to some sort of reasonable |
231 | default values. */ | 231 | default values. */ |
232 | #define VIDIOC_INT_INIT _IOW ('d', 114, u32) | 232 | #define VIDIOC_INT_INIT _IOW('d', 114, u32) |
233 | 233 | ||
234 | /* Set v4l2_std_id for video OUTPUT devices. This is ignored by | 234 | /* Set v4l2_std_id for video OUTPUT devices. This is ignored by |
235 | video input devices. */ | 235 | video input devices. */ |
236 | #define VIDIOC_INT_S_STD_OUTPUT _IOW ('d', 115, v4l2_std_id) | 236 | #define VIDIOC_INT_S_STD_OUTPUT _IOW('d', 115, v4l2_std_id) |
237 | 237 | ||
238 | /* Get v4l2_std_id for video OUTPUT devices. This is ignored by | 238 | /* Get v4l2_std_id for video OUTPUT devices. This is ignored by |
239 | video input devices. */ | 239 | video input devices. */ |
240 | #define VIDIOC_INT_G_STD_OUTPUT _IOW ('d', 116, v4l2_std_id) | 240 | #define VIDIOC_INT_G_STD_OUTPUT _IOW('d', 116, v4l2_std_id) |
241 | |||
242 | /* Set GPIO pins. Very simple right now, might need to be extended with | ||
243 | a v4l2_gpio struct if a direction is also needed. */ | ||
244 | #define VIDIOC_INT_S_GPIO _IOW('d', 117, u32) | ||
241 | 245 | ||
242 | #endif /* V4L2_COMMON_H_ */ | 246 | #endif /* V4L2_COMMON_H_ */ |