[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>
This commit is contained in:
Jean-François Moine 2012-03-19 04:45:20 -03:00 committed by Mauro Carvalho Chehab
parent d4689b7404
commit e71389be3d

View 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 */