aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/vivi.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2011-03-22 09:14:07 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 15:38:16 -0400
commitb1a873a37b6551a214ad37d1eee7654a9d65fd6e (patch)
tree3667a3d36c9f7c6ae73609004331f006751c44be /drivers/media/video/vivi.c
parent2f82441a8644287e5b647329cc30b590f6fd3714 (diff)
[media] v4l2: use new flag to enable core priority handling
Rather than guess which driver supports core priority handling, require drivers that do to explicitly set the V4L2_FL_USE_FH_PRIO flag in video_device. Updated the core prio handling accordingly and set the flag in the three drivers that do. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/vivi.c')
-rw-r--r--drivers/media/video/vivi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c
index 42500bf03a9c..2238a613d664 100644
--- a/drivers/media/video/vivi.c
+++ b/drivers/media/video/vivi.c
@@ -1254,6 +1254,7 @@ static int __init vivi_create_instance(int inst)
1254 *vfd = vivi_template; 1254 *vfd = vivi_template;
1255 vfd->debug = debug; 1255 vfd->debug = debug;
1256 vfd->v4l2_dev = &dev->v4l2_dev; 1256 vfd->v4l2_dev = &dev->v4l2_dev;
1257 set_bit(V4L2_FL_USE_FH_PRIO, &vfd->flags);
1257 1258
1258 /* 1259 /*
1259 * Provide a mutex to v4l2 core. It will be used to protect 1260 * Provide a mutex to v4l2 core. It will be used to protect