diff options
Diffstat (limited to 'drivers/media/common/saa7146_fops.c')
-rw-r--r-- | drivers/media/common/saa7146_fops.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/common/saa7146_fops.c b/drivers/media/common/saa7146_fops.c index 71f8e018e564..8d7df1a0bcd0 100644 --- a/drivers/media/common/saa7146_fops.c +++ b/drivers/media/common/saa7146_fops.c | |||
@@ -511,6 +511,10 @@ int saa7146_register_device(struct video_device **vid, struct saa7146_dev* dev, | |||
511 | vfd->fops = &video_fops; | 511 | vfd->fops = &video_fops; |
512 | vfd->ioctl_ops = &dev->ext_vv_data->ops; | 512 | vfd->ioctl_ops = &dev->ext_vv_data->ops; |
513 | vfd->release = video_device_release; | 513 | vfd->release = video_device_release; |
514 | /* Locking in file operations other than ioctl should be done by | ||
515 | the driver, not the V4L2 core. | ||
516 | This driver needs auditing so that this flag can be removed. */ | ||
517 | set_bit(V4L2_FL_LOCK_ALL_FOPS, &vfd->flags); | ||
514 | vfd->lock = &dev->v4l2_lock; | 518 | vfd->lock = &dev->v4l2_lock; |
515 | vfd->tvnorms = 0; | 519 | vfd->tvnorms = 0; |
516 | for (i = 0; i < dev->ext_vv_data->num_stds; i++) | 520 | for (i = 0; i < dev->ext_vv_data->num_stds; i++) |