[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:
parent
d4689b7404
commit
e71389be3d
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue