[media] gspca - sonixj: Bad clock for om6802 in 640x480
authorJean-François Moine <moinejf@free.fr>
Tue, 28 Dec 2010 10:39:13 +0000 (07:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:17:21 +0000 (08:17 -0200)
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

index 901ca81e81e153a47d90d5eb01ffd3e9742dfbfa..2d0bb17a30a29db28d831b10ab9be49f062399b1 100644 (file)
@@ -2533,7 +2533,7 @@ static int sd_start(struct gspca_dev *gspca_dev)
                init = om6802_sensor_param1;
                if (!mode) {                    /* if 640x480 */
                        reg17 &= ~MCK_SIZE_MASK;
-                       reg17 |= 0x01;          /* clock / 4 */
+                       reg17 |= 0x04;          /* clock / 4 */
                }
                break;
        case SENSOR_OV7630: