diff options
Diffstat (limited to 'drivers/media/video/s5p-fimc/fimc-capture.c')
-rw-r--r-- | drivers/media/video/s5p-fimc/fimc-capture.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/s5p-fimc/fimc-capture.c b/drivers/media/video/s5p-fimc/fimc-capture.c index dc18ba510986..72d51504ed21 100644 --- a/drivers/media/video/s5p-fimc/fimc-capture.c +++ b/drivers/media/video/s5p-fimc/fimc-capture.c | |||
@@ -1516,6 +1516,10 @@ int fimc_register_capture_device(struct fimc_dev *fimc, | |||
1516 | vfd->minor = -1; | 1516 | vfd->minor = -1; |
1517 | vfd->release = video_device_release; | 1517 | vfd->release = video_device_release; |
1518 | vfd->lock = &fimc->lock; | 1518 | vfd->lock = &fimc->lock; |
1519 | /* Locking in file operations other than ioctl should be done | ||
1520 | by the driver, not the V4L2 core. | ||
1521 | This driver needs auditing so that this flag can be removed. */ | ||
1522 | set_bit(V4L2_FL_LOCK_ALL_FOPS, &vfd->flags); | ||
1519 | video_set_drvdata(vfd, fimc); | 1523 | video_set_drvdata(vfd, fimc); |
1520 | 1524 | ||
1521 | vid_cap = &fimc->vid_cap; | 1525 | vid_cap = &fimc->vid_cap; |