diff options
Diffstat (limited to 'drivers/media/video/tm6000/tm6000-video.c')
-rw-r--r-- | drivers/media/video/tm6000/tm6000-video.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/tm6000/tm6000-video.c b/drivers/media/video/tm6000/tm6000-video.c index 1ba26d5b2ba6..375f26abd916 100644 --- a/drivers/media/video/tm6000/tm6000-video.c +++ b/drivers/media/video/tm6000/tm6000-video.c | |||
@@ -1731,6 +1731,10 @@ static struct video_device *vdev_init(struct tm6000_core *dev, | |||
1731 | vfd->release = video_device_release; | 1731 | vfd->release = video_device_release; |
1732 | vfd->debug = tm6000_debug; | 1732 | vfd->debug = tm6000_debug; |
1733 | vfd->lock = &dev->lock; | 1733 | vfd->lock = &dev->lock; |
1734 | /* Locking in file operations other than ioctl should be done | ||
1735 | by the driver, not the V4L2 core. | ||
1736 | This driver needs auditing so that this flag can be removed. */ | ||
1737 | set_bit(V4L2_FL_LOCK_ALL_FOPS, &vfd->flags); | ||
1734 | 1738 | ||
1735 | snprintf(vfd->name, sizeof(vfd->name), "%s %s", dev->name, type_name); | 1739 | snprintf(vfd->name, sizeof(vfd->name), "%s %s", dev->name, type_name); |
1736 | 1740 | ||