diff options
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-streams.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-streams.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-streams.c b/drivers/media/video/ivtv/ivtv-streams.c index 7ea5ca7f012b..6738592aa35d 100644 --- a/drivers/media/video/ivtv/ivtv-streams.c +++ b/drivers/media/video/ivtv/ivtv-streams.c | |||
@@ -228,6 +228,10 @@ static int ivtv_prep_dev(struct ivtv *itv, int type) | |||
228 | s->vdev->release = video_device_release; | 228 | s->vdev->release = video_device_release; |
229 | s->vdev->tvnorms = V4L2_STD_ALL; | 229 | s->vdev->tvnorms = V4L2_STD_ALL; |
230 | s->vdev->lock = &itv->serialize_lock; | 230 | s->vdev->lock = &itv->serialize_lock; |
231 | /* Locking in file operations other than ioctl should be done | ||
232 | by the driver, not the V4L2 core. | ||
233 | This driver needs auditing so that this flag can be removed. */ | ||
234 | set_bit(V4L2_FL_LOCK_ALL_FOPS, &s->vdev->flags); | ||
231 | set_bit(V4L2_FL_USE_FH_PRIO, &s->vdev->flags); | 235 | set_bit(V4L2_FL_USE_FH_PRIO, &s->vdev->flags); |
232 | ivtv_set_funcs(s->vdev); | 236 | ivtv_set_funcs(s->vdev); |
233 | return 0; | 237 | return 0; |