summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/uvc/uvc_ctrl.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-07-26 11:42:29 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-26 11:42:29 -0300
commitfd6f88cc2d6fc72838895f49a7713c733ef2c510 (patch)
treecbae57ef21925f323cf6e70465ce8d7aef5033ce /linux/drivers/media/video/uvc/uvc_ctrl.c
parent54c5a432d5b1ee850dfddf8ffbb85e2c6f3ba5b0 (diff)
downloadmediapointer-dvb-s2-fd6f88cc2d6fc72838895f49a7713c733ef2c510.tar.gz
mediapointer-dvb-s2-fd6f88cc2d6fc72838895f49a7713c733ef2c510.tar.bz2
uvcvideo: Make the auto-exposure menu control V4L2 compliant
From: Laurent Pinchart <laurent.pinchart@skynet.be> 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>
Diffstat (limited to 'linux/drivers/media/video/uvc/uvc_ctrl.c')
-rw-r--r--linux/drivers/media/video/uvc/uvc_ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/uvc/uvc_ctrl.c b/linux/drivers/media/video/uvc/uvc_ctrl.c
index 3ae955126..f54d06a8a 100644
--- a/linux/drivers/media/video/uvc/uvc_ctrl.c
+++ b/linux/drivers/media/video/uvc/uvc_ctrl.c
@@ -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" },
};