[media] v4l2: use new flag to enable core priority handling
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 22 Mar 2011 13:14:07 +0000 (10:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Mar 2011 19:38:16 +0000 (16:38 -0300)
commitb1a873a37b6551a214ad37d1eee7654a9d65fd6e
tree3667a3d36c9f7c6ae73609004331f006751c44be
parent2f82441a8644287e5b647329cc30b590f6fd3714
[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>
Documentation/video4linux/v4l2-framework.txt
drivers/media/video/cx18/cx18-streams.c
drivers/media/video/ivtv/ivtv-streams.c
drivers/media/video/v4l2-dev.c
drivers/media/video/v4l2-fh.c
drivers/media/video/v4l2-ioctl.c
drivers/media/video/vivi.c
include/media/v4l2-dev.h