diff options
Diffstat (limited to 'drivers/media/usb/s2255/s2255drv.c')
-rw-r--r-- | drivers/media/usb/s2255/s2255drv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/usb/s2255/s2255drv.c b/drivers/media/usb/s2255/s2255drv.c index 9693eb9d9e8d..eaae9d167e76 100644 --- a/drivers/media/usb/s2255/s2255drv.c +++ b/drivers/media/usb/s2255/s2255drv.c | |||
@@ -1476,7 +1476,6 @@ static int vidioc_g_parm(struct file *file, void *priv, | |||
1476 | struct s2255_channel *channel = fh->channel; | 1476 | struct s2255_channel *channel = fh->channel; |
1477 | if (sp->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) | 1477 | if (sp->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) |
1478 | return -EINVAL; | 1478 | return -EINVAL; |
1479 | memset(sp, 0, sizeof(struct v4l2_streamparm)); | ||
1480 | sp->parm.capture.capability = V4L2_CAP_TIMEPERFRAME; | 1479 | sp->parm.capture.capability = V4L2_CAP_TIMEPERFRAME; |
1481 | sp->parm.capture.capturemode = channel->cap_parm.capturemode; | 1480 | sp->parm.capture.capturemode = channel->cap_parm.capturemode; |
1482 | def_num = (channel->mode.format == FORMAT_NTSC) ? 1001 : 1000; | 1481 | def_num = (channel->mode.format == FORMAT_NTSC) ? 1001 : 1000; |