diff options
Diffstat (limited to 'drivers/media/video/sh_vou.c')
-rw-r--r-- | drivers/media/video/sh_vou.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/sh_vou.c b/drivers/media/video/sh_vou.c index 9644bd861abc..8fd1874382c6 100644 --- a/drivers/media/video/sh_vou.c +++ b/drivers/media/video/sh_vou.c | |||
@@ -1390,6 +1390,10 @@ static int __devinit sh_vou_probe(struct platform_device *pdev) | |||
1390 | vdev->v4l2_dev = &vou_dev->v4l2_dev; | 1390 | vdev->v4l2_dev = &vou_dev->v4l2_dev; |
1391 | vdev->release = video_device_release; | 1391 | vdev->release = video_device_release; |
1392 | vdev->lock = &vou_dev->fop_lock; | 1392 | vdev->lock = &vou_dev->fop_lock; |
1393 | /* Locking in file operations other than ioctl should be done | ||
1394 | by the driver, not the V4L2 core. | ||
1395 | This driver needs auditing so that this flag can be removed. */ | ||
1396 | set_bit(V4L2_FL_LOCK_ALL_FOPS, &vdev->flags); | ||
1393 | 1397 | ||
1394 | vou_dev->vdev = vdev; | 1398 | vou_dev->vdev = vdev; |
1395 | video_set_drvdata(vdev, vou_dev); | 1399 | video_set_drvdata(vdev, vou_dev); |