aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tvaudio.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2006-01-09 12:25:44 -0500
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-01-09 12:25:44 -0500
commitd3900bc42e6bc5e461c29951cc2a50df09e08771 (patch)
treecebd289ecf70b3c223d2bba234c2cdaa3f0d7a1b /drivers/media/video/tvaudio.c
parent30b54d50f6e2b8f5a4c8b5ade3d25a02612f8f51 (diff)
V4L/DVB (3255): When in radio mode don't do anything with VIDIOC_G_TUNER.
- When in radio mode don't do anything with VIDIOC_G_TUNER. Allow other devices to fill this. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'drivers/media/video/tvaudio.c')
-rw-r--r--drivers/media/video/tvaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/tvaudio.c b/drivers/media/video/tvaudio.c
index 2bdbb39bff0f..ed6a843dd34a 100644
--- a/drivers/media/video/tvaudio.c
+++ b/drivers/media/video/tvaudio.c
@@ -1706,12 +1706,12 @@ static int chip_command(struct i2c_client *client,
1706 struct v4l2_tuner *vt = arg; 1706 struct v4l2_tuner *vt = arg;
1707 int mode = VIDEO_SOUND_MONO; 1707 int mode = VIDEO_SOUND_MONO;
1708 1708
1709 if (chip->radio)
1710 break;
1709 vt->audmode = 0; 1711 vt->audmode = 0;
1710 vt->rxsubchans = 0; 1712 vt->rxsubchans = 0;
1711 vt->capability = V4L2_TUNER_CAP_STEREO | 1713 vt->capability = V4L2_TUNER_CAP_STEREO |
1712 V4L2_TUNER_CAP_LANG1 | V4L2_TUNER_CAP_LANG2; 1714 V4L2_TUNER_CAP_LANG1 | V4L2_TUNER_CAP_LANG2;
1713 if (chip->radio)
1714 break;
1715 1715
1716 if (desc->getmode) 1716 if (desc->getmode)
1717 mode = desc->getmode(chip); 1717 mode = desc->getmode(chip);