diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-04-01 14:40:21 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-04-02 03:56:09 -0400 |
commit | ab4cecf9c4e4a69cf2161f8a2424be14984430f8 (patch) | |
tree | 76e136c740d77720b6a08f3a49fb71506607a30a /drivers/media/video/tuner-core.c | |
parent | 3bbe5a83996c0a669250d91421eef054f3a30595 (diff) |
V4L/DVB (3700): Remove obsolete commands from tvp5150.c
- 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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tuner-core.c')
-rw-r--r-- | drivers/media/video/tuner-core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c index d68137f2eb8c..1013b4de89a2 100644 --- a/drivers/media/video/tuner-core.c +++ b/drivers/media/video/tuner-core.c | |||
@@ -744,6 +744,8 @@ static int tuner_command(struct i2c_client *client, unsigned int cmd, void *arg) | |||
744 | switch_v4l2(); | 744 | switch_v4l2(); |
745 | 745 | ||
746 | tuner->type = t->mode; | 746 | tuner->type = t->mode; |
747 | if (t->mode == V4L2_TUNER_ANALOG_TV) | ||
748 | tuner->capability |= V4L2_TUNER_CAP_NORM; | ||
747 | if (t->mode != V4L2_TUNER_RADIO) { | 749 | if (t->mode != V4L2_TUNER_RADIO) { |
748 | tuner->rangelow = tv_range[0] * 16; | 750 | tuner->rangelow = tv_range[0] * 16; |
749 | tuner->rangehigh = tv_range[1] * 16; | 751 | tuner->rangehigh = tv_range[1] * 16; |