summaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2012-03-19 04:45:20 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-03-19 22:31:06 -0300
commite71389be3d3059b447309deb83e3023c81233d59 (patch)
tree1861fe8e594a100db216317a309296ea26137bfb /drivers/media/video
parentd4689b740424e8163eefebcd21368a8c6273a7a2 (diff)
downloadblackbird-op-linux-e71389be3d3059b447309deb83e3023c81233d59.tar.gz
blackbird-op-linux-e71389be3d3059b447309deb83e3023c81233d59.zip
[media] gspca - sn9c20x: Greater delay in case of sensor no response
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')
-rw-r--r--drivers/media/video/gspca/sn9c20x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/sn9c20x.c b/drivers/media/video/gspca/sn9c20x.c
index e45f5c4545ea..26ee3c92f56d 100644
--- a/drivers/media/video/gspca/sn9c20x.c
+++ b/drivers/media/video/gspca/sn9c20x.c
@@ -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 */
OpenPOWER on IntegriCloud