Skip to content

Commit

Permalink
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/ke…
Browse files Browse the repository at this point in the history
…rnel/git/mchehab/linux-2.6

* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6:
  [media] v4l: soc-camera: fix multiple simultaneous user case
  • Loading branch information
Linus Torvalds committed Dec 28, 2010
2 parents 92a8cd4 + 24d8c02 commit bec41d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/video/soc_camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,13 +405,13 @@ static int soc_camera_open(struct file *file)
ret = soc_camera_set_fmt(icd, &f);
if (ret < 0)
goto esfmt;

ici->ops->init_videobuf(&icd->vb_vidq, icd);
}

file->private_data = icd;
dev_dbg(&icd->dev, "camera device open\n");

ici->ops->init_videobuf(&icd->vb_vidq, icd);

mutex_unlock(&icd->video_lock);

return 0;
Expand Down

0 comments on commit bec41d5

Please sign in to comment.