diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-06-22 04:49:33 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-06 16:32:24 -0400 |
commit | 4e1d2ac63368843d63dc38ed42f141506bd1e988 (patch) | |
tree | 8b8aacd860ced9f6d8d6ad91695bfa0e8e957b4e /drivers | |
parent | 4c1ffcaad5070ea5bca9b8057bdd7b4925237bc0 (diff) |
[media] vivi: remove pointless g/s_std support
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/vivi.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c index 08c10240e70f..e00efcf02571 100644 --- a/drivers/media/video/vivi.c +++ b/drivers/media/video/vivi.c | |||
@@ -1072,11 +1072,6 @@ static int vidioc_streamoff(struct file *file, void *priv, enum v4l2_buf_type i) | |||
1072 | return vb2_streamoff(&dev->vb_vidq, i); | 1072 | return vb2_streamoff(&dev->vb_vidq, i); |
1073 | } | 1073 | } |
1074 | 1074 | ||
1075 | static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id *i) | ||
1076 | { | ||
1077 | return 0; | ||
1078 | } | ||
1079 | |||
1080 | /* only one input in this sample driver */ | 1075 | /* only one input in this sample driver */ |
1081 | static int vidioc_enum_input(struct file *file, void *priv, | 1076 | static int vidioc_enum_input(struct file *file, void *priv, |
1082 | struct v4l2_input *inp) | 1077 | struct v4l2_input *inp) |
@@ -1085,7 +1080,6 @@ static int vidioc_enum_input(struct file *file, void *priv, | |||
1085 | return -EINVAL; | 1080 | return -EINVAL; |
1086 | 1081 | ||
1087 | inp->type = V4L2_INPUT_TYPE_CAMERA; | 1082 | inp->type = V4L2_INPUT_TYPE_CAMERA; |
1088 | inp->std = V4L2_STD_525_60; | ||
1089 | sprintf(inp->name, "Camera %u", inp->index); | 1083 | sprintf(inp->name, "Camera %u", inp->index); |
1090 | return 0; | 1084 | return 0; |
1091 | } | 1085 | } |
@@ -1318,7 +1312,6 @@ static const struct v4l2_ioctl_ops vivi_ioctl_ops = { | |||
1318 | .vidioc_querybuf = vidioc_querybuf, | 1312 | .vidioc_querybuf = vidioc_querybuf, |
1319 | .vidioc_qbuf = vidioc_qbuf, | 1313 | .vidioc_qbuf = vidioc_qbuf, |
1320 | .vidioc_dqbuf = vidioc_dqbuf, | 1314 | .vidioc_dqbuf = vidioc_dqbuf, |
1321 | .vidioc_s_std = vidioc_s_std, | ||
1322 | .vidioc_enum_input = vidioc_enum_input, | 1315 | .vidioc_enum_input = vidioc_enum_input, |
1323 | .vidioc_g_input = vidioc_g_input, | 1316 | .vidioc_g_input = vidioc_g_input, |
1324 | .vidioc_s_input = vidioc_s_input, | 1317 | .vidioc_s_input = vidioc_s_input, |
@@ -1334,9 +1327,6 @@ static struct video_device vivi_template = { | |||
1334 | .fops = &vivi_fops, | 1327 | .fops = &vivi_fops, |
1335 | .ioctl_ops = &vivi_ioctl_ops, | 1328 | .ioctl_ops = &vivi_ioctl_ops, |
1336 | .release = video_device_release, | 1329 | .release = video_device_release, |
1337 | |||
1338 | .tvnorms = V4L2_STD_525_60, | ||
1339 | .current_norm = V4L2_STD_NTSC_M, | ||
1340 | }; | 1330 | }; |
1341 | 1331 | ||
1342 | /* ----------------------------------------------------------------- | 1332 | /* ----------------------------------------------------------------- |