diff options
-rw-r--r-- | drivers/media/video/v4l2-ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/v4l2-ioctl.c b/drivers/media/video/v4l2-ioctl.c index d6975f9c3722..571f0c6e7c83 100644 --- a/drivers/media/video/v4l2-ioctl.c +++ b/drivers/media/video/v4l2-ioctl.c | |||
@@ -1072,7 +1072,7 @@ static long __video_do_ioctl(struct file *file, | |||
1072 | id &= ~curr_id; | 1072 | id &= ~curr_id; |
1073 | } | 1073 | } |
1074 | if (i <= index) | 1074 | if (i <= index) |
1075 | return -EINVAL; | 1075 | break; |
1076 | 1076 | ||
1077 | v4l2_video_std_construct(p, curr_id, descr); | 1077 | v4l2_video_std_construct(p, curr_id, descr); |
1078 | 1078 | ||
@@ -1597,7 +1597,7 @@ static long __video_do_ioctl(struct file *file, | |||
1597 | v4l2_std_id std = vfd->current_norm; | 1597 | v4l2_std_id std = vfd->current_norm; |
1598 | 1598 | ||
1599 | if (p->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) | 1599 | if (p->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) |
1600 | return -EINVAL; | 1600 | break; |
1601 | 1601 | ||
1602 | ret = 0; | 1602 | ret = 0; |
1603 | if (ops->vidioc_g_std) | 1603 | if (ops->vidioc_g_std) |