summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2006-04-01 21:40:21 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2006-04-01 21:40:21 +0200
commit8929143e56ef440073aef532a80f620b6fafdb65 (patch)
tree7c985c11baddf7e7035f22b8b76ed5875d536d04 /linux/drivers/media/video/tuner-core.c
parent1d6852ba00b82d0342468dc905f33226d7e9860b (diff)
downloadmediapointer-dvb-s2-8929143e56ef440073aef532a80f620b6fafdb65.tar.gz
mediapointer-dvb-s2-8929143e56ef440073aef532a80f620b6fafdb65.tar.bz2
Remove obsolete commands from tvp5150.c
From: Hans Verkuil <hverkuil@xs4all.nl> - Remove old DECODER_ commands from tvp5150.c, replacing them with newer ones if appropriate. - Small VIDIOC_G_TUNER fixes in msp3400 and tuner. - Fix VIDIOC_S_TUNER support in em28xx. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/tuner-core.c')
-rw-r--r--linux/drivers/media/video/tuner-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c
index 15282bbbb..35ba614c0 100644
--- a/linux/drivers/media/video/tuner-core.c
+++ b/linux/drivers/media/video/tuner-core.c
@@ -807,6 +807,8 @@ static int tuner_command(struct i2c_client *client, unsigned int cmd, void *arg)
switch_v4l2();
tuner->type = t->mode;
+ if (t->mode == V4L2_TUNER_ANALOG_TV)
+ tuner->capability |= V4L2_TUNER_CAP_NORM;
if (t->mode != V4L2_TUNER_RADIO) {
tuner->rangelow = tv_range[0] * 16;
tuner->rangehigh = tv_range[1] * 16;