[media] gspca - sn9c20x: Greater delay in case of sensor no response
authorJean-François Moine <moinejf@free.fr>
Mon, 19 Mar 2012 07:45:20 +0000 (04:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 20 Mar 2012 01:31:06 +0000 (22:31 -0300)
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sn9c20x.c

index e45f5c4..26ee3c9 100644 (file)
@@ -1144,7 +1144,7 @@ static void i2c_w(struct gspca_dev *gspca_dev, const u8 *buffer)
                        }
                        return;
                }
-               msleep(1);
+               msleep(10);
        }
        pr_err("i2c_w reg %02x no response\n", buffer[2]);
 /*     gspca_dev->usb_err = -EIO;      fixme: may occur */