]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (4861): Remove the need of a STD array for drivers using video_ioctl2
authorMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 20 Nov 2006 16:19:20 +0000 (13:19 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 10 Dec 2006 11:05:01 +0000 (09:05 -0200)
commit9d271eff96438a0ff3ba9757e538280c74f07ba5
treee1f1db30c237a08773fcf155a771545f3b6aa54f
parent586d1d103c7bb6b56eb6c929b909e5ffb392ccbd
V4L/DVB (4861): Remove the need of a STD array for drivers using video_ioctl2

video_ioctl2 will auto-generate standard entries at ENUM_FMT.
Also, now, a driver may return a subset of the video array at
the return, to be stored as the current_norm.
For example, a driver may ask for V4L2_STD_PAL. At return,
driver may change it to V4L2_STD_PAL_B. This way, a futher call
to G_STD will return the exact detected video std.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cafe_ccic.c
drivers/media/video/v4l2-common.c
drivers/media/video/videodev.c
drivers/media/video/vivi.c
include/media/v4l2-dev.h