summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorErik Andr?n2008-12-31 08:49:33 +0100
committerMauro Carvalho Chehab2009-04-07 02:44:42 +0200
commit8a38c649aca595cca3a3b346e72599a2fa67db57 (patch)
tree06b0498b03405d6b000b20486d792db6f76aff35 /drivers/media
parentV4L/DVB (11416): gspca - m5602: Constify all sensor structs (diff)
downloadkernel-qcow2-linux-8a38c649aca595cca3a3b346e72599a2fa67db57.tar.gz
kernel-qcow2-linux-8a38c649aca595cca3a3b346e72599a2fa67db57.tar.xz
kernel-qcow2-linux-8a38c649aca595cca3a3b346e72599a2fa67db57.zip
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 d1ca2556769a..71964a4f3b41 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