V4L/DVB: gspca - sq930x: Bad init sequence for sensor mt9v111
authorJean-François Moine <moinejf@free.fr>
Mon, 26 Jul 2010 09:50:31 +0000 (06:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 9 Aug 2010 02:42:52 +0000 (23:42 -0300)
The start_1 exchange must be done by (reg, val) * 5 and not 8.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sq930x.c

index c9f367a5dbd1d1a6e3cdfa0bd591613923b52c87..8032190cd12a77c7accf775d4a9df3aad6f9ba3d 100644 (file)
@@ -1111,7 +1111,7 @@ static int sd_start(struct gspca_dev *gspca_dev)
                                ARRAY_SIZE(mt9v111_init_2));
                ucbus_write(gspca_dev, mt9v111_start_1,
                                ARRAY_SIZE(mt9v111_start_1),
-                               8);
+                               5);
                i2c_write(sd, mt9v111_init_3,
                                ARRAY_SIZE(mt9v111_init_3));
                i2c_write(sd, mt9v111_init_4,