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:
313c68e
)
[media] gspca - sonixj: Fix the darkness of sensor om6802 in 320x240
author
Jean-François Moine
<moinejf@free.fr>
Tue, 9 Aug 2011 18:13:50 +0000
(15:13 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sun, 11 Sep 2011 12:33:37 +0000
(09:33 -0300)
The images are clearer with a lower bridge clock.
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sonixj.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/sonixj.c
b/drivers/media/video/gspca/sonixj.c
index 2ad757dc2e1cf72ee3a5461c2da3d60b910cb0c3..c477ad11f103486128c0ce13b69b7949908dc900 100644
(file)
--- a/
drivers/media/video/gspca/sonixj.c
+++ b/
drivers/media/video/gspca/sonixj.c
@@
-2532,6
+2532,10
@@
static int sd_start(struct gspca_dev *gspca_dev)
if (!mode) { /* if 640x480 */
reg17 &= ~MCK_SIZE_MASK;
reg17 |= 0x04; /* clock / 4 */
+ } else {
+ reg01 &= ~SYS_SEL_48M; /* clk 24Mz */
+ reg17 &= ~MCK_SIZE_MASK;
+ reg17 |= 0x02; /* clock / 2 */
}
break;
case SENSOR_OV7630: