diff options
Diffstat (limited to 'drivers/media/video/mx2_emmaprp.c')
-rw-r--r-- | drivers/media/video/mx2_emmaprp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/mx2_emmaprp.c b/drivers/media/video/mx2_emmaprp.c index 55ac1735e85b..0bd5815de369 100644 --- a/drivers/media/video/mx2_emmaprp.c +++ b/drivers/media/video/mx2_emmaprp.c | |||
@@ -904,6 +904,10 @@ static int emmaprp_probe(struct platform_device *pdev) | |||
904 | } | 904 | } |
905 | 905 | ||
906 | *vfd = emmaprp_videodev; | 906 | *vfd = emmaprp_videodev; |
907 | /* Locking in file operations other than ioctl should be done | ||
908 | by the driver, not the V4L2 core. | ||
909 | This driver needs auditing so that this flag can be removed. */ | ||
910 | set_bit(V4L2_FL_LOCK_ALL_FOPS, &vfd->flags); | ||
907 | vfd->lock = &pcdev->dev_mutex; | 911 | vfd->lock = &pcdev->dev_mutex; |
908 | 912 | ||
909 | video_set_drvdata(vfd, pcdev); | 913 | video_set_drvdata(vfd, pcdev); |