]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commite75f9cee32827853fc2f9d1ceb6352e3edc33e9d
treee1f1db30c237a08773fcf155a771545f3b6aa54f
parent207705cd7f82b9f160c6ed552d5788a823701fd1
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