]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
[media] m5mols: Change auto exposure control default value to AUTO
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 23 Nov 2011 13:19:54 +0000 (10:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 30 Dec 2011 16:39:13 +0000 (14:39 -0200)
Enabling automatic exposure yields better image quality. With this setting
the anti-flicker algorithm is also enabled in automatic frequency detection
mode which effectively eliminates distortion from fluctuations of light
intensity at power line frequency.

Acked-by: HeungJun Kim <riverful.kim@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/m5mols/m5mols_core.c

index 12f223f3d0fd0e27d836bc4f96dff13b5cff0551..e8a971fa372658a1bdb425f456b39eb0d61de941 100644 (file)
@@ -834,7 +834,7 @@ static int m5mols_init_controls(struct m5mols_info *info)
                        4, (1 << V4L2_COLORFX_BW), V4L2_COLORFX_NONE);
        info->autoexposure = v4l2_ctrl_new_std_menu(&info->handle,
                        &m5mols_ctrl_ops, V4L2_CID_EXPOSURE_AUTO,
-                       1, 0, V4L2_EXPOSURE_MANUAL);
+                       1, 0, V4L2_EXPOSURE_AUTO);
 
        sd->ctrl_handler = &info->handle;
        if (info->handle.error) {