projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6028c32
)
[media] gspca - zc3xx: Set the exposure at start of hv7131r
author
Jean-François Moine
<moinejf@free.fr>
Mon, 27 Feb 2012 11:49:49 +0000
(08:49 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Thu, 8 Mar 2012 11:05:13 +0000
(08:05 -0300)
The exposure was not set when autogain was set.
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/zc3xx.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/zc3xx.c
b/drivers/media/video/gspca/zc3xx.c
index 0910006115287a42c5454c8ef491124bac006005..c10bdb422271aa7e5290d45c19ed4005666f3ef8 100644
(file)
--- a/
drivers/media/video/gspca/zc3xx.c
+++ b/
drivers/media/video/gspca/zc3xx.c
@@
-6875,8
+6875,7
@@
static int sd_start(struct gspca_dev *gspca_dev)
reg_w(gspca_dev, 0x40, 0x0117);
break;
case SENSOR_HV7131R:
- if (!sd->ctrls[AUTOGAIN].val)
- setexposure(gspca_dev);
+ setexposure(gspca_dev);
reg_w(gspca_dev, 0x00, ZC3XX_R1A7_CALCGLOBALMEAN);
break;
case SENSOR_GC0305: