diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2012-05-28 21:04:07 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-06-11 23:06:50 +0400 |
commit | f19ed98111d508bafc1aa31478f2c612cbdc26b5 (patch) | |
tree | 9e355689b6f443beb3126320f774c56a4e94fb10 /drivers/media/video/gspca/ov534.c | |
parent | af05ef01e9cde84620c6855a8d8ab9c8a1db9009 (diff) | |
download | linux-f19ed98111d508bafc1aa31478f2c612cbdc26b5.tar.xz |
[media] gspca - ov534/ov534_9: Fix sccd_read/write errors
The ov534 bridge is too slow to handle the sensor accesses
requested by fast hosts giving 'sccb_reg_write failed'.
A small delay fixes the problem.
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/ov534.c')
-rw-r--r-- | drivers/media/video/gspca/ov534.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/ov534.c b/drivers/media/video/gspca/ov534.c index c16bd1b7914a..80c81dd6d68b 100644 --- a/drivers/media/video/gspca/ov534.c +++ b/drivers/media/video/gspca/ov534.c @@ -851,6 +851,7 @@ static int sccb_check_status(struct gspca_dev *gspca_dev) int i; for (i = 0; i < 5; i++) { + msleep(10); data = ov534_reg_read(gspca_dev, OV534_REG_STATUS); switch (data) { |