diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-05-02 17:06:15 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-05-02 17:06:15 +0200 |
commit | 3c03639d1d631911524bd4be8500155de4809b20 (patch) | |
tree | 111442b1da37130ede221ce1f156d161f738beea /linux/drivers/media/radio/radio-sf16fmr2.c | |
parent | 404ec5697df745366ea8fb28146e2737b31d2059 (diff) | |
download | mediapointer-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-sf16fmr2.c')
-rw-r--r-- | linux/drivers/media/radio/radio-sf16fmr2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/radio/radio-sf16fmr2.c b/linux/drivers/media/radio/radio-sf16fmr2.c index 3a10f718a..df8c10a50 100644 --- a/linux/drivers/media/radio/radio-sf16fmr2.c +++ b/linux/drivers/media/radio/radio-sf16fmr2.c @@ -231,10 +231,10 @@ 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->audmode = fmr2->stereo ? V4L2_TUNER_MODE_STEREO: - V4L2_TUNER_MODE_MONO; + v->rxsubchans = fmr2->stereo ? V4L2_TUNER_SUB_STEREO : + V4L2_TUNER_SUB_MONO; + v->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_LOW; + v->audmode = V4L2_TUNER_MODE_STEREO; mutex_lock(&fmr2->lock); v->signal = fmr2_getsigstr(fmr2); mutex_unlock(&fmr2->lock); |