summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-09-21 03:28:55 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-04 23:09:51 -0300
commit8d768e14fc57160b35ac13e797a81163baab34d2 (patch)
tree3c6c0922341c8975fe118643da2377002165f71f
parent05d3c1e2fb95d3233f6ec0f1d4b9bb07655636b2 (diff)
downloadlwn-8d768e14fc57160b35ac13e797a81163baab34d2.tar.gz
lwn-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>
-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 */