Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138356
b: refs/heads/master
c: 020b882
h: refs/heads/master
v: v3
  • Loading branch information
Trent Piepho authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 97b7779 commit db7b5d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5a27578667b3bd00cab909296824498bdbd732d5
refs/heads/master: 020b882b1d34e8787658a15e00f2ea0d4651605b
6 changes: 0 additions & 6 deletions trunk/drivers/media/video/omap24xxcam.c
Original file line number Diff line number Diff line change
Expand Up @@ -1285,9 +1285,6 @@ static int vidioc_g_parm(struct file *file, void *fh,
struct omap24xxcam_device *cam = ofh->cam;
int rval;

if (a->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
return -EINVAL;

mutex_lock(&cam->mutex);
rval = vidioc_int_g_parm(cam->sdev, a);
mutex_unlock(&cam->mutex);
Expand All @@ -1303,9 +1300,6 @@ static int vidioc_s_parm(struct file *file, void *fh,
struct v4l2_streamparm old_streamparm;
int rval;

if (a->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
return -EINVAL;

mutex_lock(&cam->mutex);
if (cam->streaming) {
rval = -EBUSY;
Expand Down

0 comments on commit db7b5d5

Please sign in to comment.