]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
V4L/DVB (11417): gspca - m5602-ov9650: Autogain is on by default
authorErik Andr?n <erik.andren@gmail.com>
Wed, 31 Dec 2008 07:49:33 +0000 (04:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 7 Apr 2009 00:44:42 +0000 (21:44 -0300)
Autogain is on by default, properly set the default value in the v4l2 ctrl.

Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/m5602/m5602_ov9650.c

index d1ca2556769a2b2408b63783c65aede6abdb9d57..71964a4f3b414e01748dd293d13c8bb1b6edf53e 100644 (file)
@@ -163,7 +163,7 @@ const static struct ctrl ov9650_ctrls[] = {
                        .minimum        = 0,
                        .maximum        = 1,
                        .step           = 1,
-                       .default_value  = 0
+                       .default_value  = 1
                },
                .set = ov9650_set_auto_gain,
                .get = ov9650_get_auto_gain