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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue