summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/sq930x.c
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2010-07-26 06:50:31 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-08 23:42:52 -0300
commit4663117bbaa27a3fdaff9422f09c64e04ce82694 (patch)
tree61a1c404638b6fc7730d6facd1deabcb06aab34c /drivers/media/video/gspca/sq930x.c
parent30d4554a02d3ad6f9928767c9f98214775f4dcb2 (diff)
downloadblackbird-op-linux-4663117bbaa27a3fdaff9422f09c64e04ce82694.tar.gz
blackbird-op-linux-4663117bbaa27a3fdaff9422f09c64e04ce82694.zip
V4L/DVB: gspca - sq930x: Bad init sequence for sensor mt9v111
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>
Diffstat (limited to 'drivers/media/video/gspca/sq930x.c')
-rw-r--r--drivers/media/video/gspca/sq930x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/sq930x.c b/drivers/media/video/gspca/sq930x.c
index c9f367a5dbd1..8032190cd12a 100644
--- a/drivers/media/video/gspca/sq930x.c
+++ b/drivers/media/video/gspca/sq930x.c
@@ -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,
OpenPOWER on IntegriCloud