diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-04-01 10:27:29 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2009-04-01 10:27:29 +0200 |
commit | 7d77b86dffee54dd3ca7ffde1588269026e4f8d9 (patch) | |
tree | 598677fcbf82840ecedb3030c9d8b38429b2eefb /linux/include/media | |
parent | f18a7c9190ee5b3b6583f3fed9481510833605e8 (diff) | |
download | mediapointer-dvb-s2-7d77b86dffee54dd3ca7ffde1588269026e4f8d9.tar.gz mediapointer-dvb-s2-7d77b86dffee54dd3ca7ffde1588269026e4f8d9.tar.bz2 |
v4l2-subdev: change prototype of s_crystal_freq.
From: Hans Verkuil <hverkuil@xs4all.nl>
Remove intermediate v4l2_crystal_freq struct. This is no longer needed
with the v4l2_subdev API.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/include/media')
-rw-r--r-- | linux/include/media/v4l2-subdev.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/linux/include/media/v4l2-subdev.h b/linux/include/media/v4l2-subdev.h index b4e48dc3f..ec043b71f 100644 --- a/linux/include/media/v4l2-subdev.h +++ b/linux/include/media/v4l2-subdev.h @@ -37,12 +37,6 @@ struct v4l2_decode_vbi_line { u32 type; /* VBI service type (V4L2_SLICED_*). 0 if no service found */ }; -/* s_crystal_freq */ -struct v4l2_crystal_freq { - u32 freq; /* frequency in Hz of the crystal */ - u32 flags; /* device specific flags */ -}; - /* Sub-devices are devices that are connected somehow to the main bridge device. These devices are usually audio/video muxers/encoders/decoders or sensors and webcam controllers. @@ -195,7 +189,7 @@ struct v4l2_subdev_audio_ops { video input devices. s_crystal_freq: sets the frequency of the crystal used to generate the - clocks. An extra flags field allows device specific configuration + clocks in Hz. An extra flags field allows device specific configuration regarding clock frequency dividers, etc. If not used, then set flags to 0. If the frequency is not supported, then -EINVAL is returned. @@ -207,7 +201,7 @@ struct v4l2_subdev_audio_ops { */ struct v4l2_subdev_video_ops { int (*s_routing)(struct v4l2_subdev *sd, const struct v4l2_routing *route); - int (*s_crystal_freq)(struct v4l2_subdev *sd, struct v4l2_crystal_freq *freq); + int (*s_crystal_freq)(struct v4l2_subdev *sd, u32 freq, u32 flags); int (*decode_vbi_line)(struct v4l2_subdev *sd, struct v4l2_decode_vbi_line *vbi_line); int (*s_vbi_data)(struct v4l2_subdev *sd, const struct v4l2_sliced_vbi_data *vbi_data); int (*g_vbi_data)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_data *vbi_data); |