diff options
author | Antti Palosaari <crope@iki.fi> | 2014-02-05 02:24:35 -0300 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:55:02 +0900 |
commit | ba59678ffb6baafd655883b15327ee4d78d97e85 (patch) | |
tree | a4147769968a1900e1f686757a7143b4496dcfed /include/media | |
parent | 98f8d186178cdb42d5119bc9da94f71c5dd1b822 (diff) | |
download | linux-3.10-ba59678ffb6baafd655883b15327ee4d78d97e85.tar.gz linux-3.10-ba59678ffb6baafd655883b15327ee4d78d97e85.tar.bz2 linux-3.10-ba59678ffb6baafd655883b15327ee4d78d97e85.zip |
upstream: [media] v4l: add enum_freq_bands support to tuner sub-device
Add VIDIOC_ENUM_FREQ_BANDS, enumerate supported frequency bands,
IOCTL support for sub-device tuners too.
Cc: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/v4l2-subdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index adeeb0ce76e..c87374df0b3 100644 --- a/include/media/v4l2-subdev.h +++ b/include/media/v4l2-subdev.h @@ -194,6 +194,7 @@ struct v4l2_subdev_tuner_ops { int (*s_radio)(struct v4l2_subdev *sd); int (*s_frequency)(struct v4l2_subdev *sd, const struct v4l2_frequency *freq); int (*g_frequency)(struct v4l2_subdev *sd, struct v4l2_frequency *freq); + int (*enum_freq_bands)(struct v4l2_subdev *sd, struct v4l2_frequency_band *band); int (*g_tuner)(struct v4l2_subdev *sd, struct v4l2_tuner *vt); int (*s_tuner)(struct v4l2_subdev *sd, const struct v4l2_tuner *vt); int (*g_modulator)(struct v4l2_subdev *sd, struct v4l2_modulator *vm); |