[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>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
e206fc5e3d
commit
338e9e1ad5
@@ -175,6 +175,13 @@ struct v4l2_subdev_core_ops {
|
||||
|
||||
/* s_radio: v4l device was opened in radio mode.
|
||||
|
||||
g_frequency: freq->type must be filled in. Normally done by video_ioctl2
|
||||
or the bridge driver.
|
||||
|
||||
g_tuner:
|
||||
s_tuner: vt->type must be filled in. Normally done by video_ioctl2 or the
|
||||
bridge driver.
|
||||
|
||||
s_type_addr: sets tuner type and its I2C addr.
|
||||
|
||||
s_config: sets tda9887 specific stuff, like port1, port2 and qss
|
||||
|
||||
Reference in New Issue
Block a user