diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2011-06-13 08:35:56 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-07 14:04:23 -0400 |
commit | 338e9e1ad541cbb2a3fa5839376ff6c138d40301 (patch) | |
tree | 0657639257487bc4ac5499e51e8a4083ea4de896 /include/media | |
parent | e206fc5e3de0e38a35b6f92941c913b6d8343fc6 (diff) |
[media] tuner-core/v4l2-subdev: document that the type field has to be filled in
The tuner ops g_frequency, g_tuner and s_tuner require that the tuner type
field is filled in. Document this.
The tuner-core doc is based on a patch from Mauro Carvalho Chehab <mchehab@redhat.com>.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/v4l2-subdev.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index 224502067c43..2884e3e69cb1 100644 --- a/include/media/v4l2-subdev.h +++ b/include/media/v4l2-subdev.h | |||
@@ -175,6 +175,13 @@ struct v4l2_subdev_core_ops { | |||
175 | 175 | ||
176 | /* s_radio: v4l device was opened in radio mode. | 176 | /* s_radio: v4l device was opened in radio mode. |
177 | 177 | ||
178 | g_frequency: freq->type must be filled in. Normally done by video_ioctl2 | ||
179 | or the bridge driver. | ||
180 | |||
181 | g_tuner: | ||
182 | s_tuner: vt->type must be filled in. Normally done by video_ioctl2 or the | ||
183 | bridge driver. | ||
184 | |||
178 | s_type_addr: sets tuner type and its I2C addr. | 185 | s_type_addr: sets tuner type and its I2C addr. |
179 | 186 | ||
180 | s_config: sets tda9887 specific stuff, like port1, port2 and qss | 187 | s_config: sets tda9887 specific stuff, like port1, port2 and qss |