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:
Jean-Francois Moine 2008-11-24 06:38:21 -03:00 committed by Mauro Carvalho Chehab
parent 8843765e28
commit abf485fe51
1 changed files with 1 additions and 1 deletions

View File

@ -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 */
}