diff options
Diffstat (limited to 'drivers/media/video/cx231xx/cx231xx-video.c')
-rw-r--r-- | drivers/media/video/cx231xx/cx231xx-video.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-video.c b/drivers/media/video/cx231xx/cx231xx-video.c index 7f916f0685e9..2a04558699f8 100644 --- a/drivers/media/video/cx231xx/cx231xx-video.c +++ b/drivers/media/video/cx231xx/cx231xx-video.c | |||
@@ -2561,6 +2561,10 @@ static struct video_device *cx231xx_vdev_init(struct cx231xx *dev, | |||
2561 | vfd->release = video_device_release; | 2561 | vfd->release = video_device_release; |
2562 | vfd->debug = video_debug; | 2562 | vfd->debug = video_debug; |
2563 | vfd->lock = &dev->lock; | 2563 | vfd->lock = &dev->lock; |
2564 | /* Locking in file operations other than ioctl should be done | ||
2565 | by the driver, not the V4L2 core. | ||
2566 | This driver needs auditing so that this flag can be removed. */ | ||
2567 | set_bit(V4L2_FL_LOCK_ALL_FOPS, &vfd->flags); | ||
2564 | 2568 | ||
2565 | snprintf(vfd->name, sizeof(vfd->name), "%s %s", dev->name, type_name); | 2569 | snprintf(vfd->name, sizeof(vfd->name), "%s %s", dev->name, type_name); |
2566 | 2570 | ||