mirror of https://gitee.com/openkylin/linux.git
V4L/DVB (9841): gspca: Use msleep instead of mdelay.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
8843765e28
commit
abf485fe51
|
@ -640,7 +640,7 @@ static int gspca_init_transfer(struct gspca_dev *gspca_dev)
|
|||
gspca_dev->streaming = 0;
|
||||
destroy_urbs(gspca_dev);
|
||||
if (ret == -ENOSPC) {
|
||||
mdelay(20); /* wait for kill
|
||||
msleep(20); /* wait for kill
|
||||
* complete */
|
||||
break; /* try the previous alt */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue