mirror of https://gitee.com/openkylin/linux.git
[media] gspca - sonixj: Fix the darkness of sensor om6802 in 320x240
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>
This commit is contained in:
parent
72a16e8c7a
commit
822f6e2a9a
|
@ -2534,6 +2534,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:
|
||||
|
|
Loading…
Reference in New Issue