]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (8497): uvcvideo: Make the auto-exposure menu control V4L2 compliant
authorLaurent Pinchart <laurent.pinchart@skynet.be>
Sat, 26 Jul 2008 14:42:29 +0000 (11:42 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sat, 26 Jul 2008 16:18:24 +0000 (13:18 -0300)
V4L2 and UVC enumerate the auto-exposure settings in a different order. This
patch fixes the auto-exposure menu declaration to match the V4L2 spec.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/uvc/uvc_ctrl.c

index 3ae95512666f7685b54da8e495845cb44844a5e6..f54d06a8af929065fc9a8aa2028c08216d67f988 100644 (file)
@@ -195,8 +195,8 @@ static struct uvc_menu_info power_line_frequency_controls[] = {
 };
 
 static struct uvc_menu_info exposure_auto_controls[] = {
-       { 1, "Manual Mode" },
        { 2, "Auto Mode" },
+       { 1, "Manual Mode" },
        { 4, "Shutter Priority Mode" },
        { 8, "Aperture Priority Mode" },
 };