diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2010-05-01 17:06:50 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 11:58:55 -0400 |
commit | 0eed42e48a6292ebc96606c6a7105c69b37666d0 (patch) | |
tree | 82282807573268014ea7048daf849314710dc350 /drivers/media | |
parent | cf19cd3d8a043b1c5784218709a85e358e0d78fb (diff) |
V4L/DVB: em28xx: g_tuner must set type field
The 'type' field was undefined but should be set to ANALOG_TV.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-video.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c index 8565fb3ff945..20090e34173a 100644 --- a/drivers/media/video/em28xx/em28xx-video.c +++ b/drivers/media/video/em28xx/em28xx-video.c | |||
@@ -1500,6 +1500,7 @@ static int vidioc_g_tuner(struct file *file, void *priv, | |||
1500 | return -EINVAL; | 1500 | return -EINVAL; |
1501 | 1501 | ||
1502 | strcpy(t->name, "Tuner"); | 1502 | strcpy(t->name, "Tuner"); |
1503 | t->type = V4L2_TUNER_ANALOG_TV; | ||
1503 | 1504 | ||
1504 | mutex_lock(&dev->lock); | 1505 | mutex_lock(&dev->lock); |
1505 | v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, g_tuner, t); | 1506 | v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, g_tuner, t); |