summaryrefslogtreecommitdiff
path: root/linux/drivers/media/radio/radio-sf16fmi.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-05-02 17:06:15 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-05-02 17:06:15 +0200
commit3c03639d1d631911524bd4be8500155de4809b20 (patch)
tree111442b1da37130ede221ce1f156d161f738beea /linux/drivers/media/radio/radio-sf16fmi.c
parent404ec5697df745366ea8fb28146e2737b31d2059 (diff)
downloadmediapointer-dvb-s2-3c03639d1d631911524bd4be8500155de4809b20.tar.gz
mediapointer-dvb-s2-3c03639d1d631911524bd4be8500155de4809b20.tar.bz2
radio-fm16: fix g_tuner.
From: Hans Verkuil <hverkuil@xs4all.nl> g_tuner handled capability, audmode and rxsubchans incorrectly. Priority: normal 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-sf16fmi.c')
-rw-r--r--linux/drivers/media/radio/radio-sf16fmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/radio/radio-sf16fmi.c b/linux/drivers/media/radio/radio-sf16fmi.c
index fc406103b..891617ee1 100644
--- a/linux/drivers/media/radio/radio-sf16fmi.c
+++ b/linux/drivers/media/radio/radio-sf16fmi.c
@@ -152,7 +152,7 @@ static int vidioc_g_tuner(struct file *file, void *priv,
v->rangelow = RSF16_MINFREQ;
v->rangehigh = RSF16_MAXFREQ;
v->rxsubchans = V4L2_TUNER_SUB_MONO | V4L2_TUNER_SUB_STEREO;
- v->capability = V4L2_TUNER_CAP_LOW;
+ v->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_LOW;
v->audmode = V4L2_TUNER_MODE_STEREO;
v->signal = fmi_getsigstr(fmi);
return 0;