Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261596
b: refs/heads/master
c: 7a05dfe
h: refs/heads/master
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Mauro Carvalho Chehab committed Jul 27, 2011
1 parent c3f9805 commit 9fe64e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 033d7463f816315308ffec6f69576d820bfbab0c
refs/heads/master: 7a05dfeddee9ffc2405230759ef32ecb603e3f48
3 changes: 1 addition & 2 deletions trunk/drivers/media/video/soc_camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -1118,8 +1118,6 @@ static int soc_camera_probe(struct device *dev)

icd->field = V4L2_FIELD_ANY;

icd->vdev->lock = &icd->video_lock;

/*
* ..._video_start() will create a device node, video_register_device()
* itself is protected against concurrent open() calls, but we also have
Expand Down Expand Up @@ -1468,6 +1466,7 @@ static int video_dev_create(struct soc_camera_device *icd)
vdev->ioctl_ops = &soc_camera_ioctl_ops;
vdev->release = video_device_release;
vdev->tvnorms = V4L2_STD_UNKNOWN;
vdev->lock = &icd->video_lock;

icd->vdev = vdev;

Expand Down

0 comments on commit 9fe64e9

Please sign in to comment.