[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:
Родитель
d4689b7404
Коммит
e71389be3d
|
@ -1144,7 +1144,7 @@ static void i2c_w(struct gspca_dev *gspca_dev, const u8 *buffer)
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
msleep(1);
|
msleep(10);
|
||||||
}
|
}
|
||||||
pr_err("i2c_w reg %02x no response\n", buffer[2]);
|
pr_err("i2c_w reg %02x no response\n", buffer[2]);
|
||||||
/* gspca_dev->usb_err = -EIO; fixme: may occur */
|
/* gspca_dev->usb_err = -EIO; fixme: may occur */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче