summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2012-03-19 08:45:20 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-03-20 02:31:06 +0100
commite71389be3d3059b447309deb83e3023c81233d59 (patch)
tree1861fe8e594a100db216317a309296ea26137bfb /drivers/media
parent[media] gspca - sn9c20x: Optimize the code of write sequences (diff)
downloadlinux-e71389be3d3059b447309deb83e3023c81233d59.tar.xz
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')
-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 */