Skip to content

Commit

Permalink
[media] gspca - sonixj: Fix the darkness of sensor om6802 in 320x240
Browse files Browse the repository at this point in the history
The images are clearer with a lower bridge clock.

Signed-off-by: Jean-François Moine <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
moinejf authored and Mauro Carvalho Chehab committed Sep 11, 2011
1 parent 313c68e commit 5b5cfc3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/media/video/gspca/sonixj.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5b5cfc3

Please sign in to comment.