Commit 5b5cfc36 authored by Jean-François Moine's avatar Jean-François Moine Committed by Mauro Carvalho Chehab

[media] gspca - sonixj: Fix the darkness of sensor om6802 in 320x240

The images are clearer with a lower bridge clock.
Signed-off-by: default avatarJean-François Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 313c68e6
...@@ -2532,6 +2532,10 @@ static int sd_start(struct gspca_dev *gspca_dev) ...@@ -2532,6 +2532,10 @@ static int sd_start(struct gspca_dev *gspca_dev)
if (!mode) { /* if 640x480 */ if (!mode) { /* if 640x480 */
reg17 &= ~MCK_SIZE_MASK; reg17 &= ~MCK_SIZE_MASK;
reg17 |= 0x04; /* clock / 4 */ reg17 |= 0x04; /* clock / 4 */
} else {
reg01 &= ~SYS_SEL_48M; /* clk 24Mz */
reg17 &= ~MCK_SIZE_MASK;
reg17 |= 0x02; /* clock / 2 */
} }
break; break;
case SENSOR_OV7630: case SENSOR_OV7630:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment