summaryrefslogtreecommitdiff
path: root/linux/drivers/media/radio/radio-sf16fmr2.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-05-02 16:52:35 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-05-02 16:52:35 +0200
commit9bea37bb76e87851bed1ecdc99f6d3f0e51dc50b (patch)
treeaf25c57df5c69b7c072966c7243ba1ec5fea49bc /linux/drivers/media/radio/radio-sf16fmr2.c
parentf0cdb3f5eacee30176d1371d6fde1522c69ebb5e (diff)
downloadmediapointer-dvb-s2-9bea37bb76e87851bed1ecdc99f6d3f0e51dc50b.tar.gz
mediapointer-dvb-s2-9bea37bb76e87851bed1ecdc99f6d3f0e51dc50b.tar.bz2
ivtv/radio: fix V4L2_TUNER_MODE/V4L2_TUNER_SUB confusion
From: Hans Verkuil <hverkuil@xs4all.nl> V4L2_TUNER_MODE_ was used in a few places where V4L2_TUNER_SUB_ should have been used. Priority: high Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/radio/radio-sf16fmr2.c')
-rw-r--r--linux/drivers/media/radio/radio-sf16fmr2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/radio/radio-sf16fmr2.c b/linux/drivers/media/radio/radio-sf16fmr2.c
index bb92b329c..85cafe401 100644
--- a/linux/drivers/media/radio/radio-sf16fmr2.c
+++ b/linux/drivers/media/radio/radio-sf16fmr2.c
@@ -234,7 +234,7 @@ static int vidioc_g_tuner(struct file *file, void *priv,
mult = (fmr2->flags & V4L2_TUNER_CAP_LOW) ? 1 : 1000;
v->rangelow = RSF16_MINFREQ / mult;
v->rangehigh = RSF16_MAXFREQ / mult;
- v->rxsubchans = V4L2_TUNER_SUB_MONO | V4L2_TUNER_MODE_STEREO;
+ v->rxsubchans = V4L2_TUNER_SUB_MONO | V4L2_TUNER_SUB_STEREO;
v->capability = fmr2->flags&V4L2_TUNER_CAP_LOW;
v->audmode = fmr2->stereo ? V4L2_TUNER_MODE_STEREO:
V4L2_TUNER_MODE_MONO;