Skip to content

Commit

Permalink
V4L/DVB (8497): uvcvideo: Make the auto-exposure menu control V4L2 co…
Browse files Browse the repository at this point in the history
…mpliant

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>
  • Loading branch information
Laurent Pinchart authored and Mauro Carvalho Chehab committed Jul 26, 2008
1 parent d53687d commit 90ac5ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/uvc/uvc_ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
};
Expand Down

0 comments on commit 90ac5ea

Please sign in to comment.