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

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
...@@ -195,8 +195,8 @@ static struct uvc_menu_info power_line_frequency_controls[] = { ...@@ -195,8 +195,8 @@ static struct uvc_menu_info power_line_frequency_controls[] = {
}; };
static struct uvc_menu_info exposure_auto_controls[] = { static struct uvc_menu_info exposure_auto_controls[] = {
{ 1, "Manual Mode" },
{ 2, "Auto Mode" }, { 2, "Auto Mode" },
{ 1, "Manual Mode" },
{ 4, "Shutter Priority Mode" }, { 4, "Shutter Priority Mode" },
{ 8, "Aperture Priority Mode" }, { 8, "Aperture Priority Mode" },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment