aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx88')
-rw-r--r--drivers/media/video/cx88/cx88-video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c
index 8ba994273292..d388a42b5fbc 100644
--- a/drivers/media/video/cx88/cx88-video.c
+++ b/drivers/media/video/cx88/cx88-video.c
@@ -1301,6 +1301,8 @@ static int vidioc_g_tuner (struct file *file, void *priv,
1301 1301
1302 if (unlikely(UNSET == core->tuner_type)) 1302 if (unlikely(UNSET == core->tuner_type))
1303 return -EINVAL; 1303 return -EINVAL;
1304 if (0 != t->index)
1305 return -EINVAL;
1304 1306
1305 strcpy(t->name, "Television"); 1307 strcpy(t->name, "Television");
1306 t->type = V4L2_TUNER_ANALOG_TV; 1308 t->type = V4L2_TUNER_ANALOG_TV;