Commit 90ac5ea3 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (8497): uvcvideo: Make the auto-exposure menu control V4L2 compliant



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: default avatarLaurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent d53687d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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" },
};