Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330881
b: refs/heads/master
c: a7bd775
h: refs/heads/master
i:
  330879: 8203901
v: v3
  • Loading branch information
Dan Carpenter authored and Mauro Carvalho Chehab committed Aug 15, 2012
1 parent ed25747 commit e6feef1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: e36c92fd63bb4773e6f4bc38ecee11a609ded1cf
refs/heads/master: a7bd775628006f7da1b94d7a5def6746f55f2321
7 changes: 3 additions & 4 deletions trunk/drivers/media/platform/mem2mem_testdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -911,10 +911,9 @@ static int m2mtest_open(struct file *file)
v4l2_ctrl_new_custom(hdl, &m2mtest_ctrl_trans_time_msec, NULL);
v4l2_ctrl_new_custom(hdl, &m2mtest_ctrl_trans_num_bufs, NULL);
if (hdl->error) {
int err = hdl->error;

rc = hdl->error;
v4l2_ctrl_handler_free(hdl);
return err;
goto open_unlock;
}
ctx->fh.ctrl_handler = hdl;
v4l2_ctrl_handler_setup(hdl);
Expand Down Expand Up @@ -946,7 +945,7 @@ static int m2mtest_open(struct file *file)

open_unlock:
mutex_unlock(&dev->dev_mutex);
return 0;
return rc;
}

static int m2mtest_release(struct file *file)
Expand Down

0 comments on commit e6feef1

Please sign in to comment.