]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit971ee1988dad4a4a5ad5afef676940cae9c5e017
tree3667a3d36c9f7c6ae73609004331f006751c44be
parent274a30a051788dd4975cfba54829d5b632d17313
[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