summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-09-21 08:28:55 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-05 04:09:51 +0200
commit8d768e14fc57160b35ac13e797a81163baab34d2 (patch)
tree3c6c0922341c8975fe118643da2377002165f71f /drivers/media/video/gspca
parentV4L/DVB (9075): gspca: Bad check of returned status in i2c_read() spca561. (diff)
downloadlinux-8d768e14fc57160b35ac13e797a81163baab34d2.tar.xz
linux-8d768e14fc57160b35ac13e797a81163baab34d2.zip
V4L/DVB (9080): gspca: Add a delay after writing to the sonixj sensors.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca')
-rw-r--r--drivers/media/video/gspca/sonixj.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c
index d75b1d20b318..44f86e1f80f0 100644
--- a/drivers/media/video/gspca/sonixj.c
+++ b/drivers/media/video/gspca/sonixj.c
@@ -707,6 +707,7 @@ static void i2c_w8(struct gspca_dev *gspca_dev,
0x08, 0, /* value, index */
gspca_dev->usb_buf, 8,
500);
+ msleep(2);
}
/* read 5 bytes in gspca_dev->usb_buf */