summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorErik Andr?n <erik.andren@gmail.com>2008-12-31 04:49:33 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-06 21:44:42 -0300
commit8a38c649aca595cca3a3b346e72599a2fa67db57 (patch)
tree06b0498b03405d6b000b20486d792db6f76aff35 /drivers/media
parentdac136e655faccb51ea2869388e5db5a5dd0b148 (diff)
downloadop-kernel-dev-8a38c649aca595cca3a3b346e72599a2fa67db57.zip
op-kernel-dev-8a38c649aca595cca3a3b346e72599a2fa67db57.tar.gz
V4L/DVB (11417): gspca - m5602-ov9650: Autogain is on by default
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>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/gspca/m5602/m5602_ov9650.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_ov9650.c b/drivers/media/video/gspca/m5602/m5602_ov9650.c
index d1ca255..71964a4 100644
--- a/drivers/media/video/gspca/m5602/m5602_ov9650.c
+++ b/drivers/media/video/gspca/m5602/m5602_ov9650.c
@@ -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
OpenPOWER on IntegriCloud